Summary

Public methods

Finds the first descendant view with the given ID or throws an IllegalArgumentException if
the ID is invalid (< 0), there is no matching view in the hierarchy, or the dialog has not
yet been fully created (for example, via Dialog.show() or
Dialog.create()).

Inherited methods

From class
java.lang.Object

Object

clone()

boolean

equals(Object arg0)

void

finalize()

final
Class<?>

getClass()

int

hashCode()

final
void

notify()

final
void

notifyAll()

String

toString()

final
void

wait(long arg0, int arg1)

final
void

wait(long arg0)

final
void

wait()

Public methods

requireViewById

Finds the first descendant view with the given ID or throws an IllegalArgumentException if
the ID is invalid (< 0), there is no matching view in the hierarchy, or the dialog has not
yet been fully created (for example, via Dialog.show() or
Dialog.create()).

Note: In most cases -- depending on compiler support --
the resulting view is automatically cast to the target class type. If
the target class type is unconstrained, an explicit cast may be
necessary.