Quantcast
Channel: How to implement a vertical news feed or timeline which dynamically loads new items if the end is reached and supports jumping to a specific position? - Stack Overflow
Viewing all articles
Browse latest Browse all 3

How to implement a vertical news feed or timeline which dynamically loads new items if the end is reached and supports jumping to a specific position?

$
0
0

I have data which consists of thousands of items that I want to be able to display. However, displaying all items at the same time would significantly weight down performance. Also, I only really need to view a few items at a time.

So basically, what I want is something that behaves like a Facebook news feed, Twitter timeline or any instant messenger chat history view. In all those examples, initially, I'm only being shown a few items and by scrolling to the end of the list, I can dynamically load more.

I can also jump to a specific position of the feed, like a certain date and time of a chat history. The feed usually doesn't load and show every single message from now until the specified history position, but it jumps to the position and shows a few surrounding messages. Again, by reaching (either) end of the list, more items are dynamically added.

What is this feature called? Which library can I use to implement it?


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>
<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596344.js" async> </script>