Push notification or thread with timer
- by neha
Hi all,
In my application, I'm having functionality like twitter that when you have not refreshed your screen, and if there're new messages then you get this message that "You have n new messages" and a refresh button, which on press will refresh the screen.
I'm basically fetching all the data from an xml with some url.
In case of thread, I need to call a timer after some time period which might affect the app performance.
Can anybody please suggest wheather what will be better to use push notifications or thread with timer?
Thanx in advance.