Added in API level 1

LayoutInflater.Filter


public static interface LayoutInflater.Filter

android.view.LayoutInflater.Filter


Hook to allow clients of the LayoutInflater to restrict the set of Views that are allowed to be inflated.

Summary

Public methods

abstract boolean onLoadClass(Class<T> clazz)

Hook to allow clients of the LayoutInflater to restrict the set of Views that are allowed to be inflated.

Public methods

onLoadClass

Added in API level 1
public abstract boolean onLoadClass (Class<T> clazz)

Hook to allow clients of the LayoutInflater to restrict the set of Views that are allowed to be inflated.

Parameters
clazz Class: The class object for the View that is about to be inflated

Returns
boolean True if this class is allowed to be inflated, or false otherwise