Пример #1
0
        protected override void OnCreate(Bundle bundle)
        {
            base.OnCreate(bundle);
            SetContentView(Resource.Layout.Main);

            progbar = FindViewById <ProgressBar>(Resource.Id.progbar);
            recview = FindViewById <RecyclerView>(Resource.Id.recviewits);

            weatherpresenter = new GetWeatherImpl(this);
            weatherpresenter.GetWeather();
            showProgressbar();
        }
 public getWeatherModelImpl(GetWeatherPresenter weatherpresenterin)
 {
     weatherpresenter = weatherpresenterin;
     restservice      = new RestServiceImpl();
 }