Skip to content

Commit

Permalink
Fix PullToResfresh on startup
Browse files Browse the repository at this point in the history
  • Loading branch information
javiersantos committed Jul 2, 2015
1 parent 3e9091b commit 96b77fe
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ protected void onCreate(Bundle savedInstanceState) {

fastScroller.setRecyclerView(recyclerView);
recyclerView.setOnScrollListener(fastScroller.getOnScrollListener());
pullToRefreshView.setEnabled(false);

recyclerView.setHasFixedSize(true);
LinearLayoutManager linearLayoutManager = new LinearLayoutManager(this);
Expand Down Expand Up @@ -262,6 +263,7 @@ protected void onPostExecute(Void aVoid) {

fastScroller.setVisibility(View.VISIBLE);
recyclerView.setAdapter(appAdapter);
pullToRefreshView.setEnabled(true);
progressWheel.setVisibility(View.GONE);
searchItem.setVisible(true);

Expand Down

0 comments on commit 96b77fe

Please sign in to comment.