Multi Tab App with Async Task

Objective: To create an android app, with multiple tabs catering different types of questions, in which data will be saved to SQL-Lite using Asynchronous approach (Async Tasks concept.)

This post will be covering only a part of the actual objective.
I created a Multi Tab application and each tab pointing to  a different fragment.
Now in every tab click the data has to be saved without blocking the user actions.
For this i have chosen Async Task concept.
As of now i just put up a simple dialog display demonstrating the Async actions while user navigates between the tabs.
In up coming post, i will finish the code for even saving the data to SQL-Lite database, thus completing the actual intent.

Happy coding !

No comments:

Post a Comment