English subtitles

← OnCreate Quiz

Get Embed Code
5 Languages

Showing Revision 3 created 05/24/2016 by Udacity Robot.

  1. To set up your own create function
    there's a couple of things
  2. that you need to do.
  3. First of all you're going to
    to need member variables for
  4. the various aspects of the UPI.
  5. Use a TextView for
    the status as you had in the layout and
  6. you ought to have button controls for
    request and remove.
  7. So create these member variables and
  8. then in uncreate use find
    view by ID to set them up.
  9. Then of course the next
    thing you need to do is to
  10. build the GoogleApiClient itself.
  11. So go ahead and
    implement this now in onCreate, and
  12. check this box when you're done.