开发者

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

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜