Exemplo n.º 1
0
        public static async Task <AllCarsPresenter> CreateAsync(AllCarsActivity activity)
        {
            var presenter = new AllCarsPresenter(activity);
            await presenter.GetCarsAsync();

            return(presenter);
        }
Exemplo n.º 2
0
 public AdminCarAdapter(List <CarResponse> cars, AllCarsActivity activity)
 {
     this.cars     = cars;
     this.activity = activity;
     presenter     = new AdminCarPresenter();
 }
Exemplo n.º 3
0
 public AllCarsPresenter(AllCarsActivity activity)
 {
     this.activity = activity;
     carService    = new CarService();
 }