English subtitles

← Delete Old Weather Data - Solution - Developing Android Apps

Get Embed Code
6 Languages

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

  1. All right, you're done.
  2. Let's look at the solution.
  3. Inside of our sync adapter,
    right after doing our bulk insert,
  4. we can just call the content
    provider with a delete,
  5. with the date as our current
    JulianStartDay minus 1.
  6. This is one of the advantages
    of using Julian days.
  7. Done.