public static FavoriteManager Obtain(Context context)
 {
     return instance ?? (instance = new FavoriteManager (context));
 }
Beispiel #2
0
 public FavoriteFragment(Context context, Action <long> stationShower)
 {
     this.stationShower = stationShower;
     this.favManager    = FavoriteManager.Obtain(context);
     ListAdapter        = this.adapter = new FavoriteAdapter(context);
 }
 public override void OnActivityCreated(Bundle savedInstanceState)
 {
     base.OnActivityCreated(savedInstanceState);
     var context = Activity;
     this.pinFactory = new PinFactory(context);
     this.favManager = FavoriteManager.Obtain(context);
 }
		public FavoriteFragment (Context context, Action<long> stationShower)
		{
			this.stationShower = stationShower;
			this.favManager = FavoriteManager.Obtain (context);
			ListAdapter = this.adapter = new FavoriteAdapter (context);
		}
Beispiel #5
0
 public static FavoriteManager Obtain(Context context)
 {
     return(instance ?? (instance = new FavoriteManager(context)));
 }