Android's viewDidLoad and viewDidAppear equivalent
问题 Does Android have an equivalent to Cocoa's viewDidLoad and viewDidAppear functions? If not, then how would I go about performing an action when a View appears? My app is a tabbed application, in which one of the tabs is a list of forum topics. I would like the topic list to be refreshed every time the view appears. Is such a thing possible in Android? 回答1: The Activity class has onCreate and onResume methods that are pretty analagous to viewDidLoad and viewDidAppear. Activity.onResume EDIT To