Skip to content

Commit

Permalink
Update PagerLayout.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Pradyuman7 committed Feb 21, 2019
1 parent 74899ed commit 6f3e1da
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pager/src/main/java/com/pd/pager/PagerLayout.java
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@ public void setAdapter(PagerAdapter adapter) {

@UiThread
public void setTitles(@NonNull List<String> titles) {
for (int i = 0; i < num; i++) {
for (int i = 0; i < titles.size(); i++) {
((MakeLayout) getChildAt(i)).setTitle(titles.get(i));
}
}
Expand Down Expand Up @@ -263,4 +263,4 @@ public void onMenuClick() {
}
}

}
}

0 comments on commit 6f3e1da

Please sign in to comment.