Class - 2 -> Intent ,Shared Preferences and Fragments
Resources
-
Saving Key-Value - Multiple ways to store key value
-
Fragments Basic: Conceptual
Code
Follow the app code present Intents and Fragments.
Task
-
Design a whatsapp like activity containing three fragements and communicate between them using Intent. Also store some text in One Fragment and access in other using Shared Preferences.
-
3 Fragments - Chats , Status , Calls
Store a text in ‘Chats’ and retrieve and display that in ‘Status’.
-
Do attempt this task before the next class.Feel free to add more cool stuff as you explore.
We encourage you to run given code and feel free to experiment with it. In case of any doubt just ping any of the co-ordinators we are always here to help :)