Ejemplo n.º 1
0
 public UpcomingTripView(HomeView homeView, Trip trip, View view, bool nextTrip, TextView tvDay, TextView tvTime, TextView tvTitle)
 {
     this.homeView = homeView;
     this.trip     = trip;
     this.view     = view;
     this.nextTrip = nextTrip;
     this.tvDay    = tvDay;
     this.tvTime   = tvTime;
     this.tvTitle  = tvTitle;
     this.view.SetOnClickListener(this);
     Refresh(trip);
 }
Ejemplo n.º 2
0
 public HomePresenter(Activity activity) : base(activity)
 {
     this.activity = activity;
     this.view     = new HomeView(activity, this);
 }