Closed sandrocsimas closed 8 years ago
:eyes:
@hotchemi, what do you think? Hehehehehe.
Sorry for the late, I think you can use OnClickButtonListener. onClickButton's argument shows which button is pressed.
refs. http://developer.android.com/intl/ja/reference/android/content/DialogInterface.html#BUTTON_POSITIVE
@hotchemi. The problem is that this is information is not stored in any place. When the activity is created again, i don't have this information anymore. I think it will be nice if the lib store this information. When the user clicks, the AppRate could store this in its shared preferences.
In my case i will only show the "REMIND LATER" and the "RATE NOW" buttons. When is the first time that the dialog is displayed, the remind interval could be 0 for example. After "REMIND LATER" click i want to increase the interval to 15 days.
I think you can do it by yourself right? I can implement that but not so much people want that feature and I wanna keep this library simple!
It's very simple, but ok.
It will be nice if i can get to know what decision the user has taken. I'm trying to do the follow:
I think in something like this: