Week 10/11 - Fragments, Updating A Widget Flashcards
Which SDK version began support for fragments?
SDK version 3.0.
What is a Fragment?
A Fragment is a modular section of an activity that can be manipulated on its own. Multiple Fragments can be used in an Activity to create a multi-panel user interface.
What does the FragmentManager class do?
It manages FragmentTransactions to add, move, and transition between fragments.
How does an app issue a change to a widget?
By broadcasting an intent that the widget is listening for.
How is a web service queried for data?
A request is created then sent to the appropriate target, a callback is set and is invoked when the web service returns some data. This avoids having the execution block until data is returned.