I’m new to Android but I’m trying to figure it out. I need to create a news feed what can show new news immediately when they’re uploaded to my database.
I’ve tried socketio, but it’s not really working all the time (from time to time I get my event I have no idea why not all the time). So I’ve been thinking to make it with service, but apparently it uses too much battery.
Maybe I should do it with broadcast recievers, since I upload news also from the app, is it a good idea? There’s has to be a way, right?
Sokol is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.