- name
- The full name of the class to be instantiated.
- prefix
- Documentation for this section has not yet been entered.
- attrs
- The XML attributes supplied for this instance.
Documentation for this section has not yet been entered.
Type Reason Java.Lang.ClassNotFoundException Android.Views.InflateException
Low-level function for instantiating a view by name. This attempts to instantiate a view class of the given name found in this LayoutInflater's ClassLoader.
There are two things that can happen in an error case: either the exception describing the error will be thrown, or a null will be returned. You must deal with both possibilities -- the former will happen the first time createView() is called for a class of a particular name, the latter every time there-after for that class name.