Code example for ProgressDialog

Methods: dismisssetOnCancelListenershowsetIndeterminatesetMessagesetProgressStyle, isIndeterminate