Skip to content

Commit 40cdf31

Browse files
committed
Merge pull request MeetMe#5 from ComboZhc/master
Update HorizontalListView.java
2 parents 3ab7657 + 4cea53e commit 40cdf31

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

AndroidHorizontalListView/src/com/meetme/android/horizontallistview/HorizontalListView.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ private View getRightmostChild() {
817817
*/
818818
private View getChild(int adapterIndex) {
819819
if (adapterIndex >= mLeftViewAdapterIndex && adapterIndex <= mRightViewAdapterIndex) {
820-
getChildAt(adapterIndex - mLeftViewAdapterIndex);
820+
return getChildAt(adapterIndex - mLeftViewAdapterIndex);
821821
}
822822

823823
return null;

0 commit comments

Comments
 (0)