Skip to content

Commit 7ab755a

Browse files
committed
Use addHeader/addFooter version that only takes a View
1 parent 6f3535f commit 7ab755a

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

app/src/main/java/com/github/mobile/ui/issue/IssueFragment.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -226,8 +226,8 @@ public void onActivityCreated(Bundle savedInstanceState) {
226226
bodyImageGetter = new HttpImageGetter(getActivity());
227227
commentImageGetter = new HttpImageGetter(getActivity());
228228

229-
adapter.addHeader(headerView, null, false);
230-
adapter.addFooter(footerView, null, false);
229+
adapter.addHeader(headerView);
230+
adapter.addFooter(footerView);
231231

232232
issue = store.getIssue(repositoryId, issueNumber);
233233

@@ -236,7 +236,7 @@ public void onActivityCreated(Bundle savedInstanceState) {
236236
loadingText.setText(string.loading_comments);
237237

238238
if (issue == null || (issue.getComments() > 0 && comments == null))
239-
adapter.addHeader(loadingView, null, false);
239+
adapter.addHeader(loadingView);
240240

241241
if (issue != null && comments != null)
242242
updateList(issue, comments);

0 commit comments

Comments
 (0)