简体   繁体   English

像Facebook Feed这样的Android GridView浮动页脚

[英]Android GridView Floating Footer like Facebook Feed

I'm trying to find the best way to approach implementing Facebook like floating last row on Grid view. 我正在尝试找到实现Facebook的最佳方法,例如在网格视图上浮动最后一行。 when scrolling down, the status-photo-checkin disappear to allow more space for the list, and when scrolling up it appears again. 向下滚动时,状态照片检入消失,以便为列表留出更多空间;向上滚动时,状态照片检入再次出现。 anyone has an idea how can I implement this or direct me to an existing component/library? 任何人都知道如何实现此目标或将我定向到现有组件/库?

I have seen the post Android Listview Floating First Row and try the Quick Return pattern: https://plus.google.com/u/0/+RomanNurik/posts/1Sb549FvpJt But it does not work for GridView. 我已经看到了Android Listview Floating First Row的帖子,并尝试了快速返回模式: https : //plus.google.com/u/0/+RomanNurik/posts/1Sb549FvpJt但它不适用于GridView。

Check out this QuickReturn library I wrote. 看看我写的这个QuickReturn库。 https://github.com/lawloretienne/QuickReturn https://github.com/lawloretienne/QuickReturn

It even has an example of how its done in Facebook. 它甚至还提供了有关如何在Facebook中完成操作的示例。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM