use of net.iGap.module.customView.RecyclerListView in project iGap-Android by KianIranian-STDG.
the class FragmentStoryViews method createView.
@Override
public View createView(Context context) {
fragmentView = new FrameLayout(context);
FrameLayout frameLayout = (FrameLayout) fragmentView;
recyclerListView = new RecyclerListView(context);
recyclerListView.setLayoutManager(new LinearLayoutManager(context, RecyclerView.VERTICAL, false));
recyclerListView.setBackgroundColor(Color.WHITE);
recyclerListView.setAdapter(adapter = new ListAdapter());
frameLayout.addView(recyclerListView, LayoutCreator.createFrame(LayoutCreator.MATCH_PARENT, LayoutCreator.WRAP_CONTENT));
return fragmentView;
}
Aggregations