Search in sources :

Example 1 with BRProfileAdapter

use of sugar.free.sightremote.adapters.BRProfileAdapter in project SightRemote by TebbeUbben.

the class ChangeActiveBRProfileActivity method onCreate.

@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
    super.onCreate(savedInstanceState);
    setContent(R.layout.activity_change_active_br_profile);
    showManualOverlay();
    profileList = findViewById(R.id.profile_list);
    profileList.setLayoutManager(new LinearLayoutManager(this));
    profileList.setAdapter(adapter = new BRProfileAdapter());
    adapter.setListener(this);
    adapter.setOnClickListener(this);
}
Also used : LinearLayoutManager(android.support.v7.widget.LinearLayoutManager) BRProfileAdapter(sugar.free.sightremote.adapters.BRProfileAdapter)

Aggregations

LinearLayoutManager (android.support.v7.widget.LinearLayoutManager)1 BRProfileAdapter (sugar.free.sightremote.adapters.BRProfileAdapter)1