示例#1
0
		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 ();
			listDataRA = new MySoal_MesejDihantar_ListDataHolderList (mySoalSIListData);

			mLayoutManager = new LinearLayoutManager (Activity);
			recyclerView.SetLayoutManager (mLayoutManager);

			mesejDihantarRA = new MySoal_MesejDihantar_RecyclerViewAdapter (Activity, listDataRA);
			recyclerView.SetAdapter (mesejDihantarRA);

			mesejDihantarRA.ItemClick += ItemClicked;

			//Takwim_NestedRecyclerViewAdapter mRViewAdapter = new Takwim_NestedRecyclerViewAdapter (Activity);
			//recyclerView.SetAdapter(mRViewAdapter);

			//listViewAdapter = new Takwim_ListViewAdapter (Activity, Child_Data.childData());
			//mListView.Adapter = listViewAdapter;


		}
		public MySoal_MesejDihantar_RecyclerViewAdapter (Activity context, MySoal_MesejDihantar_ListDataHolderList data)
		{
			this.context = context;
			mData = data;
		}