Skip to content

Commit 36feb8d

Browse files
author
Chris Banes
committed
Small tweak to PullToRefreshListFragment extra doc
1 parent 335e40d commit 36feb8d

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

extras/PullToRefreshListFragment/src/com/handmark/pulltorefresh/extras/listfragment/PullToRefreshListFragment.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,8 @@ public final View onCreateView(LayoutInflater inflater, ViewGroup container, Bun
3434
ListView lv = (ListView) layout.findViewById(android.R.id.list);
3535
ViewGroup parent = (ViewGroup) lv.getParent();
3636

37-
// Iterate through parent's children until we find the ListView
37+
// Iterate through parent's children until we find the ListView, we need
38+
// to do it this way as we need to find out the child index
3839
for (int i = 0, z = parent.getChildCount(); i < z; i++) {
3940
View child = parent.getChildAt(i);
4041

0 commit comments

Comments
 (0)