Added in API level 1

Filter


interface Filter
RemoteViews

A class that describes a view hierarchy that can be displayed in another process.

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(clazz: Class<Any!>!)

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
abstract fun onLoadClass(clazz: Class<Any!>!): Boolean

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

Parameters
clazz Class<Any!>!: The class object for the View that is about to be inflated
Return
Boolean True if this class is allowed to be inflated, or false otherwise