コード例 #1
0
 public static StationCardFragment WithStation(SimpleStation station, BikeActionStatus status)
 {
     var r = new StationCardFragment ();
     r.station = station;
     r.status = status;
     return r;
 }
コード例 #2
0
        public static StationCardFragment WithStation(SimpleStation station, BikeActionStatus status)
        {
            var r = new StationCardFragment();

            r.station = station;
            r.status  = status;
            return(r);
        }
コード例 #3
0
 public void SwitchCount()
 {
     status = status == BikeActionStatus.Stop ? BikeActionStatus.Start : BikeActionStatus.Stop;
     if (View != null)
     {
         SetCountText(View);
     }
 }
コード例 #4
0
		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;
		}
コード例 #5
0
 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);
 }
コード例 #6
0
 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);
 }
コード例 #7
0
 public void SwitchCount()
 {
     status = status == BikeActionStatus.Stop ? BikeActionStatus.Start : BikeActionStatus.Stop;
     if (View != null)
         SetCountText (View);
 }
コード例 #8
0
        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);
        }