Example #1
0
        public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
        {
            var view = inflater.Inflate(Resource.Layout.fragment_logs, container, false);

            _listViewLog = view.FindViewById <ListView>(Resource.Id.listViewLog);

            _adapter             = new CustomAdapter(inflater, _listViewData);
            _listViewLog.Adapter = _adapter;

            return(view);
        }
Example #2
0
        public override View OnCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState)
        {
            var view = inflater.Inflate(Resource.Layout.fragment_tracks, container, false);

            listView = view.FindViewById <ListView>(Resource.Id.listViewTracks);

            adapter          = new CustomAdapter(inflater, listViewData);
            listView.Adapter = adapter;

            LoadTracks();

            return(view);
        }