public override void OnActivityCreated(Bundle savedInstanceState) { base.OnActivityCreated(savedInstanceState); var context = Activity; this.pinFactory = new PinFactory(context); this.favManager = FavoriteManager.Obtain(context); }
public DrawerAroundAdapter(Context context) { this.context = context; this.manager = FavoriteManager.Obtain(context); this.starDrawable = XamSvg.SvgFactory.GetDrawable(context.Resources, Resource.Raw.star_depressed); this.favorites = new HashSet <Int32>(); LoadFavorites(); }
public FavoriteFragment(Context context, Action <long> stationShower) { this.stationShower = stationShower; this.favManager = FavoriteManager.Obtain(context); ListAdapter = this.adapter = new FavoriteAdapter(context); }