What is the difference between the classes BrowseFragment and BrowseSupportFragment as mentioned in the android developer documentation?
https://developer.android.com/reference/android/support/v17/leanback/app/package-summary.html
Most of the methods and documentation is same for both the classes, so from documentation it's really difficult to figure out which class to use according to the use cases.
Can someone please help to understand the difference between these classes and guide to choose with some example use cases?
BrowseSupportFragment extends from root android.support.v4.app.Fragment
which is static
library support version of the framework's android.app.Fragment
. Used to write apps that run on platforms prior to Android 3.0.
When running on Android 3.0
or above, this implementation is still used; it does not try to switch to the framework's android.app.Fragment
implementation.
See documentation