@Test public void testSetAdapter() { assertNull(mListView.getAdapter()); ListMixin mixin = new ListMixin(mTemplateLayout, null, 0); mixin.setAdapter(mAdapter); assertSame(mAdapter, mListView.getAdapter()); }
public void setAdapter(ListAdapter adapter) { final ListView listView = getListViewInternal(); if (listView != null) { listView.setAdapter(adapter); } }
ListMixin implements Mixin { public void setAdapter(ListAdapter adapter) { final ListView listView = getListViewInternal(); if (listView != null) { listView.setAdapter(adapter); } } }
ListMixin implements Mixin { public void setAdapter(ListAdapter adapter) { final ListView listView = getListViewInternal(); if (listView != null) { listView.setAdapter(adapter); } } ListMixin(@NonNull TemplateLayout layout, @Nullable AttributeSet attrs,
            @AttrRes int defStyleAttr); }
ListMixin implements Mixin { public void setAdapter(ListAdapter adapter) { final ListView listView = getListViewInternal(); if (listView != null) { listView.setAdapter(adapter); } } ListMixin(@NonNull TemplateLayout layout, @Nullable AttributeSet attrs,
            @AttrRes int defStyleAttr); ListView getListView(); void onLayout(); ListAdapter getAdapter(); void setAdapter(ListAdapter adapter); void setDividerInset(int inset); int getDividerInset(); Drawable getDivider(); }
ListMixin implements Mixin { public void setAdapter(ListAdapter adapter) { final ListView listView = getListViewInternal(); if (listView != null) { listView.setAdapter(adapter); } } ListMixin(@NonNull TemplateLayout layout, @Nullable AttributeSet attrs,
            @AttrRes int defStyleAttr); ListView getListView(); void onLayout(); ListAdapter getAdapter(); void setAdapter(ListAdapter adapter); void setDividerInset(int inset); int getDividerInset(); Drawable getDivider();  }