Giter VIP home page Giter VIP logo

Comments (7)

paul-turner avatar paul-turner commented on June 19, 2024

Dynamically? or all together have it not show up?

from expandable-recycler-view.

XxGoliathusxX avatar XxGoliathusxX commented on June 19, 2024

Dynamically

from expandable-recycler-view.

paul-turner avatar paul-turner commented on June 19, 2024

can do so in onBindParentViewHolder, just set your view to invisible.
Or if you need to do it based on expansion/collapsing can override onExpansionToggled in your ParentViewHolder

I guess it's more of a question of when you want to do it, then can help with the answer.

from expandable-recycler-view.

XxGoliathusxX avatar XxGoliathusxX commented on June 19, 2024

When you delete an item or move it and that occurs that the childlist is empty. Then no arrow is necassary. It would be confusing.

from expandable-recycler-view.

paul-turner avatar paul-turner commented on June 19, 2024

Probably need to kick off a notifyParentItemChanged then to trigger a rebind and make the arrow go away in that case.

Either that or fetch the view through the recyclerview and set it manually yourself (not recommended)

from expandable-recycler-view.

XxGoliathusxX avatar XxGoliathusxX commented on June 19, 2024

Ok, thats seems difficult maybe ill find sth else

from expandable-recycler-view.

Vengat121 avatar Vengat121 commented on June 19, 2024

how to disable arrow permanently @XxGoliathusxX @matthew-compton @dgreenhalgh @paul-turner

from expandable-recycler-view.

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.