Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
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