YouTube

Got a YouTube account?

New: enable viewer-created translations and captions on your YouTube channel!

English subtitles

← Leveraging Projections Quiz - Developing Android Apps

Get Embed Code
6 Languages

Showing Revision 10 created 05/25/2016 by Udacity Robot.

  1. All right.
    Now it's your turn.
  2. Use a projection in your implementation
    of the CursorLoader and ForecastAdapter
  3. to make your code a bit more efficient
    in its use of the content provider and
  4. database.
  5. In the ForecastAdapter,
  6. you'll be modifying the convert
    cursor row to UX format function.
  7. Because our code will be making use of
    this projection in future sessions,
  8. we've done step one and
    step two for you.
  9. See the instructor notes for
    the string array you should use for
  10. our projection and the constants for
    the column indices.
  11. Note that we get more data than
    we are using in the UI right now.