예제 #1
0
        private void SetData(out ExpandableListViewAdapter mAdapter)
        {
            List <string> Offline = new List <string>();

            Offline.Add("Notes");
            Offline.Add("References");
            Offline.Add("Revision Materials");

            List <string> Online = new List <string>();

            Online.Add("Notes");
            Online.Add("School Portal");
            Online.Add("References");

            List <string> Youtube = new List <string>();

            Youtube.Add("Playlists");
            Youtube.Add("Videos");
            Youtube.Add("Channels");

            group.Add("Offline Materials");
            group.Add("Online Materials");
            group.Add("Youtube References");

            dicMyMap.Add(group[0], Offline);
            dicMyMap.Add(group[1], Online);
            dicMyMap.Add(group[2], Youtube);

            mAdapter = new ExpandableListViewAdapter(this, group, dicMyMap);
        }
예제 #2
0
        private void SetData(out ExpandableListViewAdapter mAdapter)
        {
            List <string> Year2013 = new List <string>();

            Year2013.Add("Calculus");
            Year2013.Add("Applied Maths");
            Year2013.Add("Circuit & Network Theory");
            Year2013.Add("Computer Programming I");
            Year2013.Add("Principles of Marketing");
            Year2013.Add("Electrical Measurement");
            Year2013.Add("Physical Electronics");
            Year2013.Add("Mechanics of Machines");

            List <string> Year2014 = new List <string>();

            Year2014.Add("Calculus");
            Year2014.Add("Applied Maths");
            Year2014.Add("Circuit & Network Theory");
            Year2014.Add("Computer Programming I");
            Year2014.Add("Principles of Marketing");
            Year2014.Add("Electrical Measurement");
            Year2014.Add("Physical Electronics");
            Year2014.Add("Mechanics of Machines");

            List <string> Year2015 = new List <string>();

            Year2015.Add("Calculus");
            Year2015.Add("Applied Maths");
            Year2015.Add("Circuit & Network Theory");
            Year2015.Add("Computer Programming I");
            Year2015.Add("Principles of Marketing");
            Year2015.Add("Electrical Measurement");
            Year2015.Add("Physical Electronics");
            Year2015.Add("Mechanics of Machines");

            List <string> Year2016 = new List <string>();

            Year2016.Add("Calculus");
            Year2016.Add("Applied Maths");
            Year2016.Add("Circuit & Network Theory");
            Year2016.Add("Computer Programming I");
            Year2016.Add("Principles of Marketing");
            Year2016.Add("Electrical Measurement");
            Year2016.Add("Physical Electronics");
            Year2016.Add("Mechanics of Machines");



            group.Add("Year2013 Materials");
            group.Add("Year2014 Materials");
            group.Add("Year2015 Materials");
            group.Add("Year2016 Materials");

            dicMyMap.Add(group[0], Year2013);
            dicMyMap.Add(group[1], Year2014);
            dicMyMap.Add(group[2], Year2015);
            dicMyMap.Add(group[3], Year2016);


            mAdapter = new ExpandableListViewAdapter(this, group, dicMyMap);
        }