to top
Android APIs
Added in API level 1
public static interface

LayoutInflater.Filter

android.view.LayoutInflater.Filter
Known Indirect Subclasses

Class Overview

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 clazz)
Hook to allow clients of the LayoutInflater to restrict the set of Views that are allowed to be inflated.

Public Methods

public abstract boolean onLoadClass (Class clazz)

Added in API level 1

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

Parameters
clazz The class object for the View that is about to be inflated
Returns
  • True if this class is allowed to be inflated, or false otherwise