Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
Added in API level 8
public static interface

DialogInterface.OnShowListener

android.content.DialogInterface.OnShowListener

Class Overview

Interface used to allow the creator of a dialog to run some code when the dialog is shown.

Summary

Public Methods
abstract void onShow ( DialogInterface dialog)
This method will be invoked when the dialog is shown.

Public Methods

public abstract void onShow ( DialogInterface dialog)

Added in API level 8

This method will be invoked when the dialog is shown.

Parameters
dialog The dialog that was shown will be passed into the method.