Giter Site home page Giter Site logo

Comments (9)

fahimk avatar fahimk commented on July 23, 2024

Are you using the apt plugin? Try changing the word "provided" to "apt" in your gradle file. See this issue for more information: #54

from icepick.

frankiesardo avatar frankiesardo commented on July 23, 2024

You need to provide a bit more context to help us help you.

As @fahimk says, first check that the generated classes are there. You would see some more information in the logs if you do Icepick.setDebug(true). Another thing to check: are you actually changing the value of title and position somewhere in your code?

from icepick.

anelrh26 avatar anelrh26 commented on July 23, 2024

No, I'm not using the apt plugin. Actually the "apt" is not recognised by the gradle that I have :S

from icepick.

anelrh26 avatar anelrh26 commented on July 23, 2024

This is the debug

06-19 16:21:16.481 1907-1907/com.myapp D/Icepick﹕ Not found. Trying superclass com.myapp.ui.activities.BaseActivity
06-19 16:21:16.481 1907-1907/com.myapp D/Icepick﹕ Not found. Trying superclass android.support.v7.app.ActionBarActivity
06-19 16:21:16.481 1907-1907/com.myapp D/Icepick﹕ MISS: Reached framework class. Abandoning search.
06-19 16:21:17.145 1907-1907/com.myapp D/Icepick﹕ Not found. Trying superclass com.myapp.ui.activities.BaseActivity
06-19 16:21:17.145 1907-1907/com.myapp D/Icepick﹕ Not found. Trying superclass android.support.v7.app.ActionBarActivity
06-19 16:21:17.145 1907-1907/com.myapp D/Icepick﹕ MISS: Reached framework class. Abandoning search.
06-19 16:21:51.177 1907-1907/com.myapp D/Icepick﹕ Not found. Trying superclass com.myapp.ui.activities.BaseActivity
06-19 16:21:51.177 1907-1907/com.myapp D/Icepick﹕ Not found. Trying superclass android.support.v7.app.ActionBarActivity
06-19 16:21:51.177 1907-1907/com.myapp D/Icepick﹕ MISS: Reached framework class. Abandoning search.
06-19 16:21:51.261 1907-1907/com.myapp D/Icepick﹕ Not found. Trying superclass com.myapp.ui.activities.BaseActivity
06-19 16:21:51.261 1907-1907/com.myapp D/Icepick﹕ Not found. Trying superclass android.support.v7.app.ActionBarActivity
06-19 16:21:51.261 1907-1907/com.myapp D/Icepick﹕ MISS: Reached framework class. Abandoning search.

from icepick.

frankiesardo avatar frankiesardo commented on July 23, 2024

That means that Icepick has not generated the classes to save and restore the state. Can you post your build.gradle file

from icepick.

anelrh26 avatar anelrh26 commented on July 23, 2024

Here it is http://pastie.org/10249054

from icepick.

frankiesardo avatar frankiesardo commented on July 23, 2024

Try and use the same configuration that you use for dagger. Change 'provided' to 'preprocess' in your case

from icepick.

anelrh26 avatar anelrh26 commented on July 23, 2024

It's working now, you were right. Thank you so much

from icepick.

oradkovsky avatar oradkovsky commented on July 23, 2024

Thank you, comment re 'apt' helped me to resolve similar issue.

from icepick.

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.