Learning screen navigation in an Android application as well as Android context .
- shusrushabezugam
- Nov 22, 2018
- 1 min read
User perspective is key concept here. In order to maintain relation between two activities in an application it is very important to understand user way for providing good screen flow.Based on the application concept tasks are designed.Each task is nothing but set of activities.A back stack is a stack which hols all these activities.Learned working of back stack and task.Understood the functionality of back button in application and deviations.There are 4 different launch modes with their respective flags
Application context :It tracks current state of the object and helps newly created objects understand the current state of other task or activity. Services provided by context are like obtaining access to database and about application specific information like its environment and application specific resources as well as its class. It can be accessed by getApplicationContext. Got to know when to and not to use application context method.
Finally,I have basic knowledge of application context, tasks and activities.I have spent nearly 3 hours for learning these concepts.
References:
https://blog.mindorks.com/how-to-learn-android-development-f33dd6dba40d
https://blog.mindorks.com/android-task-and-back-stack-review-5017f2c18196
Comments