Android; How can I initialise state in one activity, then have another refresh that?
问题 I have two activities The first one gets some data from a content provider, and displays it The second activity has a button, and when clicked it should call the first activity to "refresh", in other words to reload data from the content provider This is my first activity ... @Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.contactsview); // Grab data and put it onto screen getDataAndPutToUI(); } @Override public void