Example #1
0
 private void LoadStorageData()
 {
     mStorages = LoginPageActivity.mGlobalStorages.Where(s => s.LocationId == LoginPageActivity.StaticActiveLocationClass.Id).ToList();
     if (mStorages != null)
     {
         mStoragesAdapter            = new StoragesRecycleAdapter(mStorages, this.Activity);
         mStoragesAdapter.ItemClick += OnStorageClicked;
         this.Activity.RunOnUiThread(() => mStoragesAdapter.NotifyDataSetChanged());
         this.Activity.RunOnUiThread(() => this.mListViewStorage.SetAdapter(this.mStoragesAdapter));
     }
 }