コード例 #1
0
 private void PresenterSourceChanged(Status status)
 {
     if (!IsInitialized)
     {
         return;
     }
     Activity.RunOnUiThread(() => { _adapter.NotifyDataSetChanged(); });
     AppSettings.ProfileUpdateType = ProfileUpdateType.OnlyInfo;
 }
コード例 #2
0
        private void PresenterSourceChanged(Status status)
        {
            if (!IsInitialized)
            {
                return;
            }

            Activity.RunOnUiThread(() =>
            {
                _adapter.NotifyDataSetChanged();
            });
        }
コード例 #3
0
 private void PresenterSourceChanged(Status status)
 {
     if (!IsInitialized)
     {
         return;
     }
     if (!_isFollowers && _username == BasePresenter.User.Login)
     {
         _peopleCount.Text = AppSettings.LocalizationManager.GetText(LocalizationKeys.PeopleText, Presenter.FindAll(u => u.HasFollowed).Count);
     }
     Activity.RunOnUiThread(() => { _adapter.NotifyDataSetChanged(); });
     BasePresenter.ProfileUpdateType = ProfileUpdateType.OnlyInfo;
 }
コード例 #4
0
        private void UserFriendPresenterSourceChanged(Status status)
        {
            if (!IsInitialized)
            {
                return;
            }

            Activity.RunOnUiThread(() =>
            {
                _peopleSpinner.Visibility = ViewStates.Gone;
                _usersSearchAdapter.NotifyDataSetChanged();
            });
        }