Merge "Hide FragmentContainer#instantiate for API 26" into oc-dev
This commit is contained in:
committed by
Android (Google) Code Review
commit
ba9b2ce254
@@ -4695,7 +4695,6 @@ package android.app {
|
||||
|
||||
public abstract class FragmentContainer {
|
||||
ctor public FragmentContainer();
|
||||
method public android.app.Fragment instantiate(android.content.Context, java.lang.String, android.os.Bundle);
|
||||
method public abstract <T extends android.view.View> T onFindViewById(int);
|
||||
method public abstract boolean onHasView();
|
||||
}
|
||||
|
||||
@@ -4865,7 +4865,6 @@ package android.app {
|
||||
|
||||
public abstract class FragmentContainer {
|
||||
ctor public FragmentContainer();
|
||||
method public android.app.Fragment instantiate(android.content.Context, java.lang.String, android.os.Bundle);
|
||||
method public abstract <T extends android.view.View> T onFindViewById(int);
|
||||
method public abstract boolean onHasView();
|
||||
}
|
||||
|
||||
@@ -4708,7 +4708,6 @@ package android.app {
|
||||
|
||||
public abstract class FragmentContainer {
|
||||
ctor public FragmentContainer();
|
||||
method public android.app.Fragment instantiate(android.content.Context, java.lang.String, android.os.Bundle);
|
||||
method public abstract <T extends android.view.View> T onFindViewById(int);
|
||||
method public abstract boolean onHasView();
|
||||
}
|
||||
|
||||
@@ -42,6 +42,8 @@ public abstract class FragmentContainer {
|
||||
* Creates an instance of the specified fragment, can be overridden to construct fragments
|
||||
* with dependencies, or change the fragment being constructed. By default just calls
|
||||
* {@link Fragment#instantiate(Context, String, Bundle)}.
|
||||
*
|
||||
* @hide
|
||||
*/
|
||||
public Fragment instantiate(Context context, String className, Bundle arguments) {
|
||||
return Fragment.instantiate(context, className, arguments);
|
||||
|
||||
Reference in New Issue
Block a user