Giter VIP home page Giter VIP logo

Comments (8)

johncarl81 avatar johncarl81 commented on May 22, 2024

Robolectric, at least the version Parceler is using, doesn't deal with the int or byte arrays at all. Im hopeful that the next release will allow these tests to go through. Does this fail in the emulator or an actual device? If so I can look at it in depth this evening.

from parceler.

ahem avatar ahem commented on May 22, 2024

Okay, I am unsure how I managed to close the issue - that was not on purpose.

But yes, I can reproduce this both on a real device and in the emulator. For what it's worth, here is my test application:

https://gist.github.com/ahem/e8472dc653bddb30de0e

from parceler.

johncarl81 avatar johncarl81 commented on May 22, 2024

I can say how many times I've almost or actually hit that close button on accident.

Excellent. I'll look at this soon and issue a fix.

from parceler.

johncarl81 avatar johncarl81 commented on May 22, 2024

What version are you using?

from parceler.

ahem avatar ahem commented on May 22, 2024

I have only tested with 0.2.8, but the problem may be in earlier versions also.

from parceler.

johncarl81 avatar johncarl81 commented on May 22, 2024

@ahem , Looks like the problem was the ordering of arrays/collections vs single values. Arrays and collections need to be stored in intermediate values whereas single values can be put into the constructor directly. This was causing an ordering problem if arrays/collections showed up in the constructor after single values. The fix was to ensure the ordering by storing the single values in intermediate values as well. I've deployed this fix under 0.2.9-SNAPSHOT and I'm willing to push a release out if it works for you. Let me know.

from parceler.

ahem avatar ahem commented on May 22, 2024

Yes, I can confirm that the issue is fixed in 0.2.9-SNAPSHOT. Thank you for the quick fix again :-)

from parceler.

johncarl81 avatar johncarl81 commented on May 22, 2024

Just released under 0.2.9. Thanks again for reporting the issue!

from parceler.

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.