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, obtainStyledAttributes
public android.view.View findViewById(@IdRes int resId)
ResourceFinder
findViewById
in interface ResourceFinder
findViewById
in class ActivityResourceFinder
resId
- the identifier of the view to findpublic android.view.ViewGroup getPromptParentView()
ResourceFinder
getPromptParentView
in interface ResourceFinder
getPromptParentView
in class ActivityResourceFinder
public android.content.Context getContext()
ResourceFinder
getContext
in interface ResourceFinder
getContext
in class ActivityResourceFinder