public static StationCardFragment WithStation(SimpleStation station, BikeActionStatus status) { var r = new StationCardFragment (); r.station = station; r.status = status; return r; }
public static StationCardFragment WithStation(SimpleStation station, BikeActionStatus status) { var r = new StationCardFragment(); r.station = station; r.status = status; return(r); }
public void SwitchCount() { status = status == BikeActionStatus.Stop ? BikeActionStatus.Start : BikeActionStatus.Stop; if (View != null) { SetCountText(View); } }
public static StationCardFragment WithStation (Station station, GeoPoint currentLocation, BikeActionStatus status) { var r = new StationCardFragment (); r.station = station; r.currentLocation = currentLocation; r.status = status; return r; }
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<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 void SwitchCount() { status = status == BikeActionStatus.Stop ? BikeActionStatus.Start : BikeActionStatus.Stop; if (View != null) SetCountText (View); }
public static StationCardFragment WithStation(Station station, GeoPoint currentLocation, BikeActionStatus status) { var r = new StationCardFragment(); r.station = station; r.currentLocation = currentLocation; r.status = status; return(r); }