How to create notification after listview receives new data from an online JSON file?
问题 I have an online JSON file that shows the latest country earthquakes, the listView adapter in my app receives data from this JSON file and the refresh is manually by user`s swipe, but now I am adding an automatic and timely basis refresh mode to my list, the questions is: How can I create a system notification after a new quake is detected? 回答1: Write this below code for sending System notification in your app while your data is loaded from network request. Intent intent = new Intent