Code example for ProgressDialog

Methods: setOnCancelListenersetIndeterminatesetMessagesetProgressStyle, setTitle