Giter Site home page Giter Site logo

Comments (6)

hotchemi avatar hotchemi commented on May 29, 2024

👀

from android-rate.

sandrocsimas avatar sandrocsimas commented on May 29, 2024

@hotchemi, what do you think? Hehehehehe.

from android-rate.

hotchemi avatar hotchemi commented on May 29, 2024

Sorry for the late, I think you can use OnClickButtonListener. onClickButton's argument shows which button is pressed.

https://github.com/hotchemi/Android-Rate/blob/master/library/src/main/java/hotchemi/android/rate/OnClickButtonListener.java#L5

refs. http://developer.android.com/intl/ja/reference/android/content/DialogInterface.html#BUTTON_POSITIVE

from android-rate.

sandrocsimas avatar sandrocsimas commented on May 29, 2024

@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.

from android-rate.

hotchemi avatar hotchemi commented on May 29, 2024

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!

from android-rate.

sandrocsimas avatar sandrocsimas commented on May 29, 2024

It's very simple, but ok.

from android-rate.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.