Skip to content

UALR-MobileAppsDevelopmentCourse/14-async-tasks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Asynchronous programming with AsyncTask

Android project used as introduction to asynchronous programmin in Android with the AsyncTask class, as part of the elective course "CPSC-3367 Mobile Apps Development" from UA Little Rock.

Description

Simple app with a background thread used to download images.

Branches

  • 01-asynctask-declaration-starter. It provides a start point just for learning purposes. It includes several TODO comments to guide the development of the changes required to create the code in branch 02-asynctask-declaration.

  • 02-asynctask-declaration. It provides the code created to showcase how to declare an AsyncTask class and use it to execute a simple task in the background.

  • 03-asynctask-indeterministic-progress-starter. It provides a start point just for learning purposes. It includes several TODO comments to guide the development of the changes required to create the code in branch 04-asynctask-indeterministic-progress.

  • 04-asynctask-indeterministic-progress. It includes the code necessary to showcase how we can create and prompt a dialog to provide generic feedback to the user while a background task is in progress.

  • 05-asynctask-deterministic-progress-starter. It provides a start point just for learning purposes. It includes several TODO comments to guide the development of the changes required to create the code in branch 06-asynctask-deterministic-progress.

  • 06-asynctask-deterministic-progress. It includes the code necessary to showcase how we can create and prompt a dialog to let the user know the progress of a task while being executed in the background.

  • 07-asynctask-cancellation-starter. It provides a start point just for learning purposes. It includes several TODO comments to guide the development of the changes required to create the code in branch 08-asynctask-cancellation.

  • 08-asynctask-cancellation. It includes the code required to handle in a proper way the cancellation of a task executed in the background using the AsyncTask class.

  • 09-asynctask-execution-state-starter. It provides a start point just for learning purposes. It includes several TODO comments to guide the development of the changes required to create the code in branch 10-asynctask-execution-state.

  • 10-asynctask-execution-state. It includes the code required to handle in a proper way the cancellation of a task executed in the background using the AsyncTask class.

  • 11-asynctask-handling-exceptions-starter. It provides a start point just for learning purposes. It includes several TODO comments to guide the development of the changes required to create the code in branch 12-asynctask-handling-exceptions.

  • 12-asynctask-handling-exceptions. It includes the code required to handle in a proper way any exception triggered while a task is executed in the background using the AsyncTask class.

  • 13-asynctask-handling-lifecycle-issues-starter. It provides a start point just for learning purposes. It includes several TODO comments to guide the development of the changes required to create the code in branch 14-asynctask-handling-lifecycle-issues.

  • 14-asynctask-handling-lifecycle-issues. It includes the code required to manage the execution of background tasks in a lyfecycle-aware manner.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages