Giter VIP home page Giter VIP logo

Comments (14)

JoaoVictordaSilva avatar JoaoVictordaSilva commented on July 27, 2024

@herou replace with this files. The interface will have the position, I will wait your feedback.
SlimInjector<T> { void onInject(T data, IViewInjector injector, int position);
SlimAdapter.txt
SlimInjector.txt
SlimViewHolder.txt

from slimadapter.

programmermager avatar programmermager commented on July 27, 2024

@JoaoVictordaSilva how i can replace it when i use implementation using gradle? any other way to get current position of the item?

please help

from slimadapter.

JoaoVictordaSilva avatar JoaoVictordaSilva commented on July 27, 2024

@hackidozone to get the implementation of the SlimInject position, I imported the library as a module not by gradle as implementation or compile. So I replaced with these files, and in my app.gradle I marked the module as a library.

from slimadapter.

programmermager avatar programmermager commented on July 27, 2024

@JoaoVictordaSilva what folder that you import as module? is this one https://github.com/MEiDIK/SlimAdapter/tree/master/slimadapter ?

from slimadapter.

JoaoVictordaSilva avatar JoaoVictordaSilva commented on July 27, 2024

@hackidozone yes.

from slimadapter.

programmermager avatar programmermager commented on July 27, 2024

@JoaoVictordaSilva Great, its work. but the position its not start from 0 but 1. but its fine. thanks anyway

from slimadapter.

JoaoVictordaSilva avatar JoaoVictordaSilva commented on July 27, 2024

@hackidozone your welcome.

from slimadapter.

programmermager avatar programmermager commented on July 27, 2024

@JoaoVictordaSilva maybe you need to pull request that change dude

from slimadapter.

JoaoVictordaSilva avatar JoaoVictordaSilva commented on July 27, 2024

@hackidozone I will make soon.

from slimadapter.

roufalk avatar roufalk commented on July 27, 2024

how add an endless scrolling with this adapter

from slimadapter.

programmermager avatar programmermager commented on July 27, 2024

@roufalk same like when you use the SlimAdapter using gradle dude.

from slimadapter.

roufalk avatar roufalk commented on July 27, 2024

ok, then i cant replace an child elements background on its click function ,eg:like function

from slimadapter.

roufalk avatar roufalk commented on July 27, 2024

got it, by using
injector.background(id,"your image");

from slimadapter.

roufalk avatar roufalk commented on July 27, 2024

how can i use injector .checked

from slimadapter.

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.