LayoutInflaterCompat

public final class LayoutInflaterCompat
extends Object

java.lang.Object
   ↳ androidx.core.view.LayoutInflaterCompat


Helper for accessing features in LayoutInflater.

Summary

Public methods

static LayoutInflaterFactory getFactory(LayoutInflater inflater)

This method is deprecated. Use setFactory2(LayoutInflater, LayoutInflater.Factory2) to set and LayoutInflater.getFactory2() to get the factory.

static void setFactory(LayoutInflater inflater, LayoutInflaterFactory factory)

This method is deprecated. Use setFactory2(LayoutInflater, LayoutInflater.Factory2) instead to set and LayoutInflater.getFactory2() to get the factory.

static void setFactory2(LayoutInflater inflater, LayoutInflater.Factory2 factory)

Attach a custom LayoutInflater.Factory2 for creating views while using this LayoutInflater.

Inherited methods

Public methods

getFactory