How to know the position of StackView in Android 3.0..OnItemClick is returning 0 everytime
I m tring to get 开发者_JS百科the position of My views when i click on them in StackView but its always returning zero unlike other ViewGroups like Gallery,ListView and GridView.OnSelectedListener also not working ..can anyone help plz???
yes i got the answer...there is a method called getDisplayedChild() which returns the index of the current view like in other ViewGroups
精彩评论