public class DialogResourceFinder extends ActivityResourceFinder
ResourceFinder implementation for Dialog.| Constructor and Description |
|---|
DialogResourceFinder(android.app.Dialog dialog) |
| Modifier and Type | Method and Description |
|---|---|
android.view.View |
findViewById(int resId)
Finds a child view with the given identifier.
|
android.content.Context |
getContext()
Retrieve the Context that the prompt is running in.
|
android.view.ViewGroup |
getPromptParentView()
Get the view to add the prompt to.
|
getDrawable, getResources, getString, getTheme, obtainStyledAttributespublic DialogResourceFinder(@NonNull
android.app.Dialog dialog)
@Nullable
public android.view.View findViewById(@IdRes
int resId)
ResourceFinderfindViewById in interface ResourceFinderfindViewById in class ActivityResourceFinderresId - the identifier of the view to find@NonNull public android.view.ViewGroup getPromptParentView()
ResourceFindergetPromptParentView in interface ResourceFindergetPromptParentView in class ActivityResourceFinder@NonNull public android.content.Context getContext()
ResourceFindergetContext in interface ResourceFindergetContext in class ActivityResourceFinder