@Implements(value=com.android.internal.app.AlertController.class, isInAndroidSdk=false) public class ShadowAlertController extends Object
Constructor | Description |
---|---|
ShadowAlertController() |
Modifier and Type | Method | Description |
---|---|---|
Adapter |
getAdapter() |
|
View |
getCustomTitleView() |
|
int |
getIconId() |
|
CharSequence |
getMessage() |
|
CharSequence |
getTitle() |
|
View |
getView() |
|
void |
setCustomTitle(View customTitleView) |
|
void |
setIcon(int iconId) |
|
void |
setMessage(CharSequence message) |
|
void |
setTitle(CharSequence title) |
|
void |
setView(int resourceId) |
|
void |
setView(View view) |
@Implementation public void setTitle(CharSequence title) throws InvocationTargetException, IllegalAccessException
public CharSequence getTitle()
@Implementation public void setCustomTitle(View customTitleView)
public View getCustomTitleView()
@Implementation public void setMessage(CharSequence message)
public CharSequence getMessage()
@Implementation public void setView(View view)
@Implementation(minSdk=21) public void setView(int resourceId)
@Implementation public void setIcon(int iconId)
public int getIconId()
public View getView()
public Adapter getAdapter()