I need to set up a simple event listener to refresh a ListView
once in a while. The problem is I don't know how could I generate an event.
I know that for events like key or button pressing I just need to implement the Handler
. But in this specific case I actually need to generate the event, which will be fired every time another running thread of my app wakes up and refreshes its list of news from an RSS feed.
I've done everything, but got stuck in here. Can I get any suggestion or link with some more info on how to implement this?
question from:
https://stackoverflow.com/questions/2983250/custom-event-listener-on-android-app 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…