public abstract class XC_LayoutInflated extends XCallback implements java.lang.Comparable<XC_LayoutInflated>
Modifier and Type | Class and Description |
---|---|
static class |
XC_LayoutInflated.LayoutInflatedParam
Wraps information about the inflated layout.
|
class |
XC_LayoutInflated.Unhook
An object with which the callback can be removed.
|
XCallback.Param
priority, PRIORITY_DEFAULT, PRIORITY_HIGHEST, PRIORITY_LOWEST
Constructor and Description |
---|
XC_LayoutInflated()
Creates a new callback with default priority.
|
XC_LayoutInflated(int priority)
Creates a new callback with a specific priority.
|
Modifier and Type | Method and Description |
---|---|
protected void |
call(XCallback.Param param) |
int |
compareTo(XC_LayoutInflated other) |
abstract void |
handleLayoutInflated(XC_LayoutInflated.LayoutInflatedParam liparam)
This method is called when the hooked layout has been inflated.
|
public XC_LayoutInflated()
public XC_LayoutInflated(int priority)
priority
- See XCallback.priority
.public int compareTo(XC_LayoutInflated other)
compareTo
in interface java.lang.Comparable<XC_LayoutInflated>
protected void call(XCallback.Param param) throws java.lang.Throwable
public abstract void handleLayoutInflated(XC_LayoutInflated.LayoutInflatedParam liparam) throws java.lang.Throwable
liparam
- Information about the layout and the inflated view.java.lang.Throwable
- Everything the callback throws is caught and logged.