public StationGridAdapter(FragmentManager manager, IList <Station> stations, GeoPoint currentLocation, BikeActionStatus status) : base(manager) { this.stations = stations; this.currentLocation = currentLocation; this.status = status; this.background = ImageReference.ForDrawable(Resource.Drawable.pager_background); this.background2 = ImageReference.ForDrawable(Resource.Drawable.pager_background2); }
public StationGridAdapter(FragmentManager manager, IList <SimpleStation> stations, IMoyeuActions actions) : base(manager) { this.stations = stations; this.actions = actions; this.stationFragments = new StationCardFragment[stations.Count]; this.background = ImageReference.ForDrawable(Resource.Drawable.pager_background); this.background2 = ImageReference.ForDrawable(Resource.Drawable.pager_background2); }
public override ImageReference GetBackground(int p0, int p1) { return(ImageReference.ForDrawable(BgImages [RowCount % BgImages.Length])); }