8491eb62f621cd5de4b4caed839be09c77011f53 |
|
30-Apr-2015 |
Todd Kennedy <toddke@google.com> |
Sync API with platform While going through the main platform review, there were several changes to class and method names. Apply those changes to the support library to maintain parity with the platform. Bug: 19569096 Change-Id: Ibe36a664c40379665e3482f792220d975974abca
/frameworks/support/v4/java/android/support/v4/app/FragmentController.java
|
edaa101bfa72b5e5a5b14b9e6c66579eaed5e8cc |
|
13-Apr-2015 |
Todd Kennedy <toddke@google.com> |
Make fragment host usable There were some limitations in the API of the fragment host. This should address them and allow the creation of a replacemnt fragment host. * added getHost() method; this is akin to the getActivity() method and allows fragments to get a reference to their host. For the FragmentActivity host, this method will return the same value as getActivity() * made all methods in FragmentController 'public'. This was an oversight. There should be no package private methods in FragmentController. * removed "final" keyword from Fragment#getContext(). While this method should be final, "getContext()" is too generic/common and likely to be defined in existing Fragments. We're removing "final" from the declaration to preven compile-time errors in legacy code. Bug: 19569096 Change-Id: Id54e5febfdf2b2525c165ebb23f370f71f0ed0b8
/frameworks/support/v4/java/android/support/v4/app/FragmentController.java
|
d608cf6e08769bf320c1b595cbbd9a7664160449 |
|
26-Mar-2015 |
Todd Kennedy <toddke@google.com> |
Remove dependency upon FragmentActivity The FragmentManagerImpl is intimately tied with a FragmentActivity. In many cases, we want to be able to create / manage Fragments outside of a FragmentManager. This defines a FragmentController interface that can be used by any class to host Fragments. Bug: 19569096 Change-Id: I62dee733a70577d0d3c8f96a89e4b05a3d5e18b0
/frameworks/support/v4/java/android/support/v4/app/FragmentController.java
|