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