开发者

Show imageview when reach the end of the listview with scroll

I wanna show imageview already included in layout xml when user reach the e开发者_开发技巧nd of the listview with scroll , i switch to Visible.GONE while loading the activity with onCreate method and than try to show the imageview when user reach the end of the scroll on the listview. How can i implement this ?


I know simple solution but without using XML files.

ListView have methods for adding header and footer views. Just wrote in your code something like this:

listView.addFooterView(imageView);

See ListView.addFooterView() for reference.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜