Giter Site home page Giter Site logo

Comments (7)

mikepenz avatar mikepenz commented on May 15, 2024

@johnjohndoe seems correct. Will try it at home today with the newer version. Perhaps debugging will show me what's wrong.

You tried already to do a clean build?

from aboutlibraries.

johnjohndoe avatar johnjohndoe commented on May 15, 2024

The build is clean and the installation is fresh on the device. The error occurs at runtime.

from aboutlibraries.

mikepenz avatar mikepenz commented on May 15, 2024

It's really strange. I can't reproduce it with the current master and the jackson definition (which i added to the internal libs)

from aboutlibraries.

johnjohndoe avatar johnjohndoe commented on May 15, 2024

Can you try it with the old version. Also try it as a external definition file with the new and old release.

from aboutlibraries.

mikepenz avatar mikepenz commented on May 15, 2024

Found the exception.
If a specific library does not contain a website i won't set the onClickListener. So it will use the onClickListener of the view of the previous holder element.

Here's my fix:

//Define onClickListener
if (!TextUtils.isEmpty(library.getAuthorWebsite())) {
    holder.libraryCreator.setOnClickListener(new OnClickListener() {@Override
        public void onClick(View view) {
            //do the logic
        }
    });
} else {
    //reset the onClickListener for this listelement
    holder.libraryCreator.setOnClickListener(null);
}

from aboutlibraries.

johnjohndoe avatar johnjohndoe commented on May 15, 2024

Looks good. Might be needed for other onClickListener too.

from aboutlibraries.

mikepenz avatar mikepenz commented on May 15, 2024

@johnjohndoe so it's in v3.1.0 for you and v4.4.0 ;)

from aboutlibraries.

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.