开发者

How do I calculate HorizontalScrollView length including its child view

I want to calculate length of horizontal scroll view and I want to identify when user scrol开发者_如何学Gol to its end.


I solved it.

we have to use Hscrollview.getMeasuredWidth();

this method have to be used after all child updated in that scrollview completely. After UIThread completed its work.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜