Search in sources :

Example 1 with SettingsAdapter

use of org.prebid.mobile.drprebid.ui.adapters.SettingsAdapter in project prebid-mobile-android by prebid.

the class MainActivity method setupSettingsList.

private void setupSettingsList() {
    SettingsAdapter adapter = new SettingsAdapter(this);
    mListView.setLayoutManager(new LinearLayoutManager(this, RecyclerView.VERTICAL, false));
    mListView.setItemAnimator(new DefaultItemAnimator());
    mListView.setAdapter(adapter);
}
Also used : LinearLayoutManager(androidx.recyclerview.widget.LinearLayoutManager) SettingsAdapter(org.prebid.mobile.drprebid.ui.adapters.SettingsAdapter) DefaultItemAnimator(androidx.recyclerview.widget.DefaultItemAnimator)

Aggregations

DefaultItemAnimator (androidx.recyclerview.widget.DefaultItemAnimator)1 LinearLayoutManager (androidx.recyclerview.widget.LinearLayoutManager)1 SettingsAdapter (org.prebid.mobile.drprebid.ui.adapters.SettingsAdapter)1