Search in sources :

Example 1 with TestResultsAdapter

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

the class TestResultsActivity method setupResultsList.

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

Aggregations

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