GithubHelp home page GithubHelp logo

stephenvinouze / advancedrecyclerview Goto Github PK

View Code? Open in Web Editor NEW
201.0 5.0 36.0 40.77 MB

An easy, empowering Kotlin library for RecyclerView

License: Apache License 2.0

Java 42.37% Kotlin 51.90% Ruby 5.72%
android java kotlin recyclerview

advancedrecyclerview's Issues

Item long click not supported?

Hi Stephen, thanks for a great library!
I want to activate multichoice mode upon long click (like ListView did), however
the method "onItemLongClick" in ClickCallback is not overridable (doesn't have "open" qualifier) and is fixed to simply return false.
Is this by design or just an oversight?
Thanks!

Incompatibility

Hi, your component aren't compatible with
com.mcxiaoke.koi:core
com.mcxiaoke.koi:async
please can you check this.

Section and Pagination?

Will be supported section and pagination in one recycler view?
Currently when we use adapter.setItems(list, page) we end up with items only from last page

I need to pass Model Object instead of Primitive Data Type

Hi, I'm implementing the sections list. And wondering if I could pass the Model Object too to the Section View. I saw your demo project and you are simply passing the Int, Sample (Custom Model Object). What if I also need to pass the custom model object too in RecyclerSectionAdapter parameters.
Currently it is like this class SampleSectionAdapter : RecyclerSectionAdapter<Int, Sample>({ it.rate }) {
And I want like this class OrdersAdapter: RecyclerSectionAdapter<Order, Order>({ it }) {

When I try to pass model object then I get the error. pease see attached image.
Screen Shot 2020-02-02 at 9 08 57 AM

Could you please help me in this regard to resolve this issue.

Thanks,
Hassan

Single selection is disappears in View Pager when coming back from 3rd tab to 1st tab

Hi,

I'm new to Android and implemented this library in my application. I've a View Pager with 3 tabs. It can be more tabs, but I've 3 as of now. And in all 3 tabs I've implemented AdvanceRecyclerView of single selection mode. The issue I'm experiencing is that when I select any item in the 1st tab and go to 2nd tab, select the item again, and go to the 3rd tab and again select the item, finally when I come back to 1st tab, the selection disappears for both 1st and 3rd tab, but selection in 2nd tab remains there. This is very strange behavior.

Can you look into this issue?

Thanks
Hassan

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.