Android Question Realtime CLV item update

yiankos1

Well-Known Member
Licensed User
Longtime User
Hello team,

I have jRDC server and a B4X app with timeline. Main page contains a CLV with couple of CLVitems(timeline posts).

My question is simple: which is the best way to update data of this item(likes counter, comments counter, comments, "someone is typing a comment") as big social apps do. In plain terms, move from static to interactive app.

My thought is to run an SQL query every couple of seconds? Is this the correct path?

Thank you for your time.
 

Hamied Abou Hulaikah

Well-Known Member
Licensed User
Longtime User
as big social apps do
They use Real Time Notification, in which your app act as a listener to any push data from your server to your client app.
In our B4X, there are many real time notification libraries & examples, just search forum about.
 
Upvote 0
Top