Skip to content
This repository has been archived by the owner on Jul 22, 2024. It is now read-only.

Commit

Permalink
Remove unnecessary executePendingBindings
Browse files Browse the repository at this point in the history
  • Loading branch information
keianhzo committed Oct 21, 2019
1 parent 68bf290 commit 0a5bb7e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ private void initialize(Context aContext) {
mLayoutManager = (CustomLinearLayoutManager) mBinding.bookmarksList.getLayoutManager();

mBinding.setIsLoading(true);
mBinding.executePendingBindings();

Drawable[] drawables = mBinding.syncButton.getCompoundDrawables();
mSyncingAnimation = ObjectAnimator.ofInt(drawables[0], "level", 0, 10000);
Expand Down Expand Up @@ -350,7 +349,6 @@ private void showBookmarks(List<BookmarkNode> aBookmarks) {
mBinding.setIsLoading(false);
mBookmarkAdapter.setBookmarkList(aBookmarks);
}
mBinding.executePendingBindings();
}

@Override
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,6 @@ private void initialize(Context aContext) {
mBinding.historyList.setDrawingCacheQuality(View.DRAWING_CACHE_QUALITY_HIGH);

mBinding.setIsLoading(true);
mBinding.executePendingBindings();

Drawable[] drawables = mBinding.syncButton.getCompoundDrawables();
mSyncingAnimation = ObjectAnimator.ofInt(drawables[0], "level", 0, 10000);
Expand Down Expand Up @@ -392,7 +391,6 @@ private void showHistory(List<VisitInfo> historyItems) {
mHistoryAdapter.setHistoryList(historyItems);
mBinding.historyList.post(() -> mBinding.historyList.smoothScrollToPosition(0));
}
mBinding.executePendingBindings();
}

@Override
Expand Down

0 comments on commit 0a5bb7e

Please sign in to comment.