Coder Social home page Coder Social logo

Comments (22)

vinaygaba avatar vinaygaba commented on July 4, 2024

Hi @biddster, could you please share your code, specifically the list adapter where u are setting up the views for me to troubleshoot the issue. Thanks.

from creditcardview.

biddster avatar biddster commented on July 4, 2024

I can't share that very easily due to the sensitive nature of the project, I'll knock up a test application that I can push to github for you.

from creditcardview.

vinaygaba avatar vinaygaba commented on July 4, 2024

@biddster hey sure no problem. I'll set up something locally as well to test it out!

from creditcardview.

biddster avatar biddster commented on July 4, 2024

Here you go: https://github.com/biddster/CreditCardViewDemo

from creditcardview.

heyharvs avatar heyharvs commented on July 4, 2024

I can confirm, getting the same issue. Using a List Fragment with BaseAdapter and viewholder pattern. It correctly finds it, but none of the set() methods have any affect.

from creditcardview.

vinaygaba avatar vinaygaba commented on July 4, 2024

Hi @biddster @heyharvs,
i have identified the fix and will be completing it in the next 1 hour. Will be putting it on maven soon after. Sending an update in a bit. Thank you for pointing this out.

from creditcardview.

vinaygaba avatar vinaygaba commented on July 4, 2024

@biddster @heyharvs
This was released just now as part of v1.0.3. So if you were already using the library (@bidster you were already using v1.0.3), you will have to delete the library(gradle\caches\modules-2\files-2.1\com.vinaygaba\creditcardview\1.0.3) and do the build again to get the latest version.

from creditcardview.

biddster avatar biddster commented on July 4, 2024

Thanks @vinaygaba, I'll test it. Is there any reason why you didn't bump the version number to 1.0.4? It's much easier for us all to be certain we're testing your fixed code that way.

from creditcardview.

vinaygaba avatar vinaygaba commented on July 4, 2024

@biddster The reason I released this as part of v1.0.3 was because v1.0.3 was not "officially" released until today. I wanted to add more features as part of this release and hence I had not updated the documentation until today. Hence, I don't think anyone apart from you was using that version till now as even the Readme file showed v1.0.2 only.

from creditcardview.

biddster avatar biddster commented on July 4, 2024

Understood. I'm having real trouble getting the latest version. I've blown away my entire gradle cache directory and I'm still seeing the old code. I'm wondering if it's stuck in a maven proxy cache somewhere?

from creditcardview.

vinaygaba avatar vinaygaba commented on July 4, 2024

Not sure @biddster . If you check the files here -https://oss.sonatype.org/content/groups/staging/com/vinaygaba/creditcardview/1.0.3/
you will see that the files have been updated today. Do you see v1.0.3 in your cache directory once it was downloaded again?

from creditcardview.

biddster avatar biddster commented on July 4, 2024

Yeah - the aar has been cache on the intertubes somewhere I think.

I delete my gradle cache directory and the aar that gets downloaded is 1,271,325 bytes.

Your new version is 1,271,636.

I suspect that it's cached somewhere as it's not designed to update versions you've already uploaded.

from creditcardview.

vinaygaba avatar vinaygaba commented on July 4, 2024

@biddster Really sorry about that. Did you try the clean --> build cycle? Or could you download the aar and jar files and replace it in the cache? Never tried it but worth a shot. Before you do this, plz take a back up though as it does match the signatures so its possible it might fail.

from creditcardview.

vinaygaba avatar vinaygaba commented on July 4, 2024

@biddster Do let me know if you are able to fix the cache issue. Henceforth, I will be more careful about the releases. Sorry about this!

from creditcardview.

biddster avatar biddster commented on July 4, 2024

Oh don't worry - we'll get to the bottom of it. The bigger worry for me is that if it is really permanently cached, other consumers will suffer the same problem as me as it's already too late.

from creditcardview.

biddster avatar biddster commented on July 4, 2024

I suspect snapshot releases are the way to go in the future:

https://discuss.gradle.org/t/how-to-get-gradle-to-download-newer-snapshots-to-gradle-cache-when-using-an-ivy-repository/7344

Then we can use the changing flag on the compile dependency.

from creditcardview.

vinaygaba avatar vinaygaba commented on July 4, 2024

@biddster I'm going to read more about this and do releases in a more efficient manner. Sorry about the trouble I might have caused you.

from creditcardview.

biddster avatar biddster commented on July 4, 2024

Ok, it's working nicely via jitpack.io.

Add jitpack to all projects.

allprojects {
    repositories {
        maven { url "https://jitpack.io" }
    }
}

and then in your app gradle file

dependencies {
    compile(group: 'com.github.vinaygaba', name: 'CreditCardView', version: '1.0.3')
}

from creditcardview.

biddster avatar biddster commented on July 4, 2024

Confirming this bug as fixed.

from creditcardview.

vinaygaba avatar vinaygaba commented on July 4, 2024

@biddster I had actually added a comment about jitpack but deleted it immediately as there are some new features that are still in dev that were commited to the repo. But looks like jitpack is smart enough to pick binaries from the releases. Which is great!

from creditcardview.

biddster avatar biddster commented on July 4, 2024

Yes, it's working really well.

Many thanks again for the fixes.

from creditcardview.

vinaygaba avatar vinaygaba commented on July 4, 2024

@biddster Thank you for pointing this out 👍

from creditcardview.

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.