Contexts are different: Make context clearer

This commit is contained in:
topjohnwu
2017-02-12 05:02:18 +08:00
parent d1b5ebad7d
commit b07361580a
16 changed files with 72 additions and 69 deletions

View File

@@ -68,7 +68,7 @@ public class ReposFragment extends Fragment implements CallbackEvent.Listener<Vo
mSwipeRefreshLayout.setOnRefreshListener(() -> {
recyclerView.setVisibility(View.GONE);
new Async.LoadRepos(getApplication()).exec();
new Async.LoadRepos(getActivity()).exec();
});
if (getApplication().repoLoadDone.isTriggered) {