Unit-3 Android UI Design Essentials [IMP QUESTION IN MID-2]
Q-1) Intent and its types -Android uses Intent for communicating between the components of an application and also from one application to another application. OBJECT 🠑 INTENT 🠑 LABELEDINTENT -For example: Intent facilitate you to redirect your activity to another activity on occurrence of any event. By calling, startActivity() you can perform this task. - Intent intent = new Intent(getApplicationContext(), SecondActivity.class); startActivity(intent); [2] Types of Intents Intent is of two types: Explicit Intent and Implicit Intent I) Explicit Intent: Explicit Intents are used to connect the application internally. In Explicit we use the name of component which will be affected by Intent. For Example: If we know class name then we can navigate the app