La Vista previa para desarrolladores de Android 11 ya está disponible. Pruébala y comparte tus comentarios.

Fragment.InstantiationException

public static class Fragment.InstantiationException
extends RuntimeException

java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ androidx.fragment.app.Fragment.InstantiationException


Thrown by FragmentFactory.instantiate(ClassLoader, String) when there is an instantiation failure.

Summary

Public constructors

Fragment.InstantiationException(String msg, Exception cause)

Inherited methods

Public constructors

Fragment.InstantiationException

public Fragment.InstantiationException (String msg, 
                Exception cause)

Parameters
msg String

cause Exception