javiersantos / AppUpdater

A library that checks for your apps' updates on Google Play, GitHub, Amazon, F-Droid or your own server. API 9+ required.
Apache License 2.0
1.98k stars 412 forks source link

can not restrict users to show dialog while users click outside dialog. #88

Closed ZohaibGhafoor closed 7 years ago

ZohaibGhafoor commented 7 years ago

there is no method to restrict dialog to go hide while user click outside of dialog. i do not want to hide dialog when any user click outside of dialog.

erionialb commented 7 years ago

on UtilsDisplay.java use this method :

.setPositiveButton(btnPositive, updateClickListener).setCancelable(false).show();

javiersantos commented 7 years ago

The method .setCancelable(boolean) has been added to AppUpdater v2.6.3 to make the dialog dismissable.

dependencies {
    compile 'com.github.javiersantos:AppUpdater:2.6.3'
}