Exemple #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 ();
			}
		}
Exemple #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();
            }
        }
Exemple #3
0
 public FavoriteFragment(Context context, Action <long> stationShower)
 {
     this.stationShower = stationShower;
     this.favManager    = FavoriteManager.Obtain(context);
     ListAdapter        = this.adapter = new FavoriteAdapter(context);
 }
		public FavoriteFragment (Context context, Action<long> stationShower)
		{
			this.stationShower = stationShower;
			this.favManager = FavoriteManager.Obtain (context);
			ListAdapter = this.adapter = new FavoriteAdapter (context);
		}