Skip to content

ga-adi-macaron/job-scheduler-lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

title duration creator
Building a JobScheduler
1:30
name city
Alan Caceres
NYC

Build a JobScheduler to update some data in our apps

Introduction

Note: This should be done independently

We've gone over implementing the different components a JobScheduler needs to perform background tasks under certain requirements. There are other requirements that we could have given our JobScheduler to run tasks under more strict guidelines. A major feature of JobScheduler that we can take advantage of in our apps is batching various jobs together to run under our requirements. Effectively, saving the user's battery life / data usage.

In this lab, you will create multiple JobServices to update various pieces of info in your app.

Exercise


Minimum Requirements

  • Create 2 jobs that update two different pieces of information under the same constraints

  • Create 1 job that updates a third piece of information under a different constraint.

  • Display both the data prior to the job running and the data that is replacing it after the job runs. If the job has not run yet, show nothing for the replacement data.

Bonus

  • Update an ImageView with an acceptable random image from the Internet, under different job constraints

Deliverable

You will need to create a new Android project for this lab.

A working application that meets the requirements above.


ADDITIONAL RESOURCES


Licensing

  1. All content is licensed under a CC­BY­NC­SA 4.0 license.
  2. All software code is licensed under GNU GPLv3. For commercial use or alternative licensing, please contact legal@ga.co.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages