android-utils
                                
                                
                                
                                    android-utils copied to clipboard
                            
                            
                            
                        [+] Add DialogUtils class for displaying different dialogs
#2
I think keeping Dialog in private static ProgressDialog mProgressDialog; as static variable might lead to Activity leak, since it will keep the reference to the activity context then the activity can't be garbage collected.