Exemple #1
0
        protected async override void OnCreate(Bundle savedInstanceState)
        {
            base.OnCreate(savedInstanceState);

            SetContentView(Resource.Layout.Dashboard);
            _dashboardRecylerView = FindViewById <RecyclerView>(Resource.Id.dashboardRecyclerView);

            _dashboardLayoutManager = new LinearLayoutManager(this);
            _dashboardRecylerView.SetLayoutManager(_dashboardLayoutManager);
            _dashboardAdapter = new DashboardAdapter();

            await _dashboardAdapter.RetrieveDashboardValues();

            _dashboardRecylerView.SetAdapter(_dashboardAdapter);
        }