0% found this document useful (0 votes)
34 views1 page

Android Fragment and Dialogs Question Bank

This document is a question bank for Unit 5, covering various topics related to Android fragments and dialogs. It includes questions about the definition and types of fragments, differences between dialogs and fragments, creating custom dialog fragments, and the importance of fragments. Additionally, it addresses communication between fragments and parent activities, fragment life-cycle, and specific types of dialogs with examples.

Uploaded by

soniyash4095
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
34 views1 page

Android Fragment and Dialogs Question Bank

This document is a question bank for Unit 5, covering various topics related to Android fragments and dialogs. It includes questions about the definition and types of fragments, differences between dialogs and fragments, creating custom dialog fragments, and the importance of fragments. Additionally, it addresses communication between fragments and parent activities, fragment life-cycle, and specific types of dialogs with examples.

Uploaded by

soniyash4095
Copyright
© All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd

Unit – 5 Question Bank

1. What is Fragment? Explain It’s types.

2. What is the difference between dialog and fragment Android?

3. How to create a custom dialog fragment in Android?

4. Explain importance of fragments.

5. Explain the Different Types of Dialogs and give anyone suitable example
a) 1. Alert Dialog
b) 2. Simple Dialog
c) 3. Character Picker Dialog
d) 4. Date Picker Dialog
e) 5. Time Picker Dialog
f) 6. Progress Dialog
6. How can you communicate between a fragment and its parent activity?
7. Explain Android Fragment Life-cycle and draw its life cycle diagram?
8. How can you display an alert dialog to the user in your Android application
give suitable example?
9. What is a character picker dialog, and when would you use it?
10. Explain the purpose of the chronometer component in Android and its
typical use cases and give suitable example.

You might also like