Code example for ProgressDialog

Methods: setMaxsetMessagesetProgress, cancel