FragmentContainer 
This package is part of the
Android support library  which
is no longer maintained.
The support library has been superseded by AndroidX 
which is part of Jetpack .
We recommend using the AndroidX libraries in all new projects. You should also consider
migrating  existing projects to AndroidX.
To find the AndroidX class that maps to this deprecated class, see the AndroidX
support library class
mappings . 
 
  public
  
  
  abstract
  class
  FragmentContainer
 
  
    extends Object
  
  
  
  
  
  
  
    
    java.lang.Object
     
   
  
  
    
         ↳ 
    
    android.support.v4.app.FragmentContainer
     
   
  
  
    
      
          
  
     
   Known Direct Subclasses 
          
  
       
     
  
  
  
    
 
  Callbacks to a Fragment 's container.
Summary 
Public methods  
  
  
  
  
    
        
        
        
        
        
        Fragment 
     
  
    
      
      instantiate (Context  context, String className, Bundle  arguments)
      
      
        Creates an instance of the specified fragment, can be overridden to construct fragments
 with dependencies, or change the fragment being constructed.
        
    
      
     
   
  
  
  
  
  
    
        abstract
        
        
        
        
        View 
     
  
    
      
      onFindViewById (int id)
      
      
        Return the view with the given resource ID.
        
    
      
     
   
  
  
  
  
  
    
        abstract
        
        
        
        
        boolean
     
  
    
      
      onHasView ()
      
      
        Return true if the container holds any view.
        
    
      
     
   
  
Inherited methods  
  
     
   From
class
  
    java.lang.Object
  
  
  
  
    
      
  
  
  
  
    
        
        
        
        
        
        Object
     
  
    
      
      clone()
      
      
     
   
  
  
  
  
  
    
        
        
        
        
        
        boolean
     
  
    
      
      equals(Object arg0)
      
      
     
   
  
  
  
  
  
    
        
        
        
        
        
        void
     
  
    
      
      finalize()
      
      
     
   
  
  
  
  
  
    
        
        
        
        final
        
        Class<?>
     
  
    
      
      getClass()
      
      
     
   
  
  
  
  
  
    
        
        
        
        
        
        int
     
  
    
      
      hashCode()
      
      
     
   
  
  
  
  
  
    
        
        
        
        final
        
        void
     
  
    
      
      notify()
      
      
     
   
  
  
  
  
  
    
        
        
        
        final
        
        void
     
  
    
      
      notifyAll()
      
      
     
   
  
  
  
  
  
    
        
        
        
        
        
        String
     
  
    
      
      toString()
      
      
     
   
  
  
  
  
  
    
        
        
        
        final
        
        void
     
  
    
      
      wait(long arg0, int arg1)
      
      
     
   
  
  
  
  
  
    
        
        
        
        final
        
        void
     
  
    
      
      wait(long arg0)
      
      
     
   
  
  
  
  
  
    
        
        
        
        final
        
        void
     
  
    
      
      wait()
      
      
     
   
  
    
   
 
  
Public constructors 
 
    FragmentContainer 
    
FragmentContainer ()  
    
    
    
  
 
Public methods 
 
    instantiate 
    
Fragment  instantiate (Context  context, 
                String className, 
                Bundle  arguments)  
    
    
    
  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
 instantiate(Context, String, Bundle) .
    
    Parameters  
      
        context 
        
          Context  
       
      
        className 
        
          String  
       
      
        arguments 
        
          Bundle  
       
    
    
 
 
    onFindViewById 
    
View  onFindViewById (int id)  
    
    
    
  Return the view with the given resource ID. May return null if the
 view is not a child of this container.
    
    
 
 
    onHasView 
    
boolean onHasView ()  
    
    
    
  Return true if the container holds any view.