이제 두 번째 Android 11 개발자 프리뷰를 사용할 수 있습니다. 테스트해 보고 의견을 공유하세요.

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