lucasr / twoway-view

[DEPRECATED] RecyclerView made simple
5.23k stars 1.02k forks source link

OnItemSelectedListener #171

Open kingargyle opened 9 years ago

kingargyle commented 9 years ago

I'm currently trying to see if it is possible to migrate off the old Gallery View over to the Horizontal implementation of the ListLayoutManager for twoway-view. There unfortuantely doesn't seem to be support for the OnItemSelectedListener that was provided in the AdapterView.

http://developer.android.com/reference/android/widget/AdapterView.OnItemSelectedListener.html

Basically, this fires when an Item gains focus, because the position in the list has changed. The ItemSelectionSupport class seems to be for the instances when an item is being selected via Radio Buttons, Check Boxes, etc. It doesn't fit the use case where you are using a D-Pad to navigate around and gain focus for a View.

Is there a way currently to support this use case, as I'd really like to migrate off of Gallery view.