diff --git a/app/src/main/java/com/twittercrashlytics/fragment/GitIssuesListFragment.java b/app/src/main/java/com/twittercrashlytics/fragment/GitIssuesListFragment.java index ae4ee1a..c945034 100644 --- a/app/src/main/java/com/twittercrashlytics/fragment/GitIssuesListFragment.java +++ b/app/src/main/java/com/twittercrashlytics/fragment/GitIssuesListFragment.java @@ -52,23 +52,17 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle sa View view = inflater.inflate(R.layout.fragment_git_issues_list, container, false); - init(view); return view; } - private void init(View view) { - - recyListComments = (RecyclerView) view.findViewById(R.id.recyListComments); - progressBar = (ProgressBar) view.findViewById(R.id.progressBar); - - } - @Override public void onViewCreated(View view, Bundle savedInstanceState) { super.onViewCreated(view, savedInstanceState); + recyListComments = (RecyclerView) view.findViewById(R.id.recyListComments); + progressBar = (ProgressBar) view.findViewById(R.id.progressBar); initRecyclerView(); } diff --git a/app/src/main/res/layout/fragment_git_issues_list.xml b/app/src/main/res/layout/fragment_git_issues_list.xml index e605329..f9faaa1 100644 --- a/app/src/main/res/layout/fragment_git_issues_list.xml +++ b/app/src/main/res/layout/fragment_git_issues_list.xml @@ -1,8 +1,7 @@ + android:layout_height="match_parent">