public override void OnViewCreated (View view, Bundle savedInstanceState) { base.OnViewCreated (view, savedInstanceState); //createGroupList (); //myList = view.FindViewById<ExpandableListView> (Resource.Id.expView); //mExpandAdapter = new ExpandableListAdapter (Activity, groupList, Child_Data.childData()); //myList.SetAdapter (mExpandAdapter); //SetGroupIndicatorToRight (); listData = new MySkool_ListTakwimDataHolder (); mLayoutManager = new LinearLayoutManager (Activity); recyclerView.SetLayoutManager (mLayoutManager); takwimRecyclerAdapter = new MySkool_Takwim_RecyclerViewAdapter (Activity, listData); recyclerView.SetAdapter (takwimRecyclerAdapter); //Takwim_NestedRecyclerViewAdapter mRViewAdapter = new Takwim_NestedRecyclerViewAdapter (Activity); //recyclerView.SetAdapter(mRViewAdapter); //listViewAdapter = new Takwim_ListViewAdapter (Activity, Child_Data.childData()); //mListView.Adapter = listViewAdapter; }
public MySkool_Takwim_RecyclerViewAdapter (Activity context, MySkool_ListTakwimDataHolder data) { this.context = context; mData = data; }