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