@Test public void testSimpleCreateHolder() { final AdapterHolder.Factory<ViewHolder> factory = ViewHolderFactories.simple(); final ViewHolder holder = factory.createHolder(container, 0); assertThat(holder, is(notNullValue())); assertThat(holder.itemView, is(notNullValue())); }
@NonNull public static AdapterHolder.Factory<ViewHolder> simple() { return resource(SIMPLE_RESOURCE); }
ViewHolderFactories { @NonNull public static AdapterHolder.Factory<ViewHolder> simple() { return resource(SIMPLE_RESOURCE); } }
ViewHolderFactories { @NonNull public static AdapterHolder.Factory<ViewHolder> simple() { return resource(SIMPLE_RESOURCE); } private  ViewHolderFactories(); }
ViewHolderFactories { @NonNull public static AdapterHolder.Factory<ViewHolder> simple() { return resource(SIMPLE_RESOURCE); } private  ViewHolderFactories(); @NonNull static AdapterHolder.Factory<ViewHolder> simple(); @NonNull static AdapterHolder.Factory<ViewHolder> resource(@LayoutRes final int resource); }
ViewHolderFactories { @NonNull public static AdapterHolder.Factory<ViewHolder> simple() { return resource(SIMPLE_RESOURCE); } private  ViewHolderFactories(); @NonNull static AdapterHolder.Factory<ViewHolder> simple(); @NonNull static AdapterHolder.Factory<ViewHolder> resource(@LayoutRes final int resource); @LayoutRes static final int SIMPLE_RESOURCE; }