We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f8c3d8e + 8747633 commit 3ab7657Copy full SHA for 3ab7657
AndroidHorizontalListView/src/com/meetme/android/horizontallistview/HorizontalListView.java
@@ -867,6 +867,16 @@ public void scrollTo(int x) {
867
requestLayout();
868
}
869
870
+ @Override
871
+ public int getFirstVisiblePosition() {
872
+ return mLeftViewAdapterIndex;
873
+ }
874
+
875
876
+ public int getLastVisiblePosition() {
877
+ return mRightViewAdapterIndex;
878
879
880
/** Draws the overscroll edge glow effect on the left and right sides of the horizontal list */
881
private void drawEdgeGlow(Canvas canvas) {
882
if (mEdgeGlowLeft != null && !mEdgeGlowLeft.isFinished() && isEdgeGlowEnabled()) {
0 commit comments