Return to Video

Populate the Geofence List

  • 0:01 - 0:04
    In your main activity, you should
    now populate the Geofence list.
  • 0:04 - 0:10
    To do this, first create an array
    list of Geofence objects.
  • 0:10 - 0:15
    Then, create a helper function,
    call it populateGeofenceList, and
  • 0:15 - 0:17
    in this helper function
    perform the following steps.
  • 0:17 - 0:19
    Number one, read the HashMap.
  • 0:19 - 0:24
    Number two, create Geofence objects out
    of the data that was in the HashMap.
  • 0:24 - 0:27
    And then add these Geofence objects
    to this ArrayList<> that you
  • 0:27 - 0:28
    created earlier.
  • 0:28 - 0:30
    When you're done with this,
    check this box.
Tytuł:
Populate the Geofence List
Opis:

04-29 Populate the Geofence List

more » « less
Video Language:
English
Team:
Udacity
Projekt:
UD876-1 - Google Play Services - Location & Contex
Duration:
0:32

English subtitles

Revisions Compare revisions