public static FavoriteManager Obtain(Context context) { return instance ?? (instance = new FavoriteManager (context)); }
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); }
public static FavoriteManager Obtain(Context context) { return(instance ?? (instance = new FavoriteManager(context))); }