示例#1
0
		public override void OnActivityCreated (Bundle savedInstanceState)
		{
			base.OnActivityCreated (savedInstanceState);
			this.favManager = FavoriteManager.Obtain (Activity);
			ListAdapter = this.adapter = new FavoriteAdapter (Activity);

			if (refreshRequested) {
				refreshRequested = false;
				RefreshData ();
			}
		}
示例#2
0
        public override void OnActivityCreated(Bundle savedInstanceState)
        {
            base.OnActivityCreated(savedInstanceState);
            this.favManager = FavoriteManager.Obtain(Activity);
            ListAdapter     = this.adapter = new FavoriteAdapter(Activity);

            if (refreshRequested)
            {
                refreshRequested = false;
                RefreshData();
            }
        }
示例#3
0
 public FavoriteFragment(Context context, Action <long> stationShower)
 {
     this.stationShower = stationShower;
     this.favManager    = FavoriteManager.Obtain(context);
     ListAdapter        = this.adapter = new FavoriteAdapter(context);
 }
示例#4
0
		public FavoriteFragment (Context context, Action<long> stationShower)
		{
			this.stationShower = stationShower;
			this.favManager = FavoriteManager.Obtain (context);
			ListAdapter = this.adapter = new FavoriteAdapter (context);
		}