CardScrollView
(javadoc link) has the methods getSelectedItem()
to return the item associated with the currently selected card, and getSelectedItemPosition()
to return its index.
Google Glass GDK: get current item on CardScrollView
-
04-08-2022 - |
سؤال
How can we get the current position, or the current item, of the CardScrollView? I have not seen a getCurrentPosition() or public getItem() on CardScrollView or CardScrollAdapter.
المحلول
لا تنتمي إلى StackOverflow