ContactListFragment Method updateContactList

Method updateContactList (Fig. 8.33) creates and executes a GetContactsTask to update the contact list.

154      // update data set155      public void updateContactList()156      {157         new GetContactsTask().execute((Object[]) null);158      }159   } // end class ContactListFragment

Fig. 8.33 | ContactListFragment method updateContactList.

Get Android™ How to Program, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.