开发者

Show imageview when reach the end of the listview with scroll

开发者 https://www.devze.com 2023-01-31 23:58 出处:网络
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

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

精彩评论

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