Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

mParentDropDownArrow enable/disable #106

Closed
XxGoliathusxX opened this issue Oct 9, 2015 · 7 comments
Closed

mParentDropDownArrow enable/disable #106

XxGoliathusxX opened this issue Oct 9, 2015 · 7 comments
Labels

Comments

@XxGoliathusxX
Copy link

Has someone an idea how to remove the dropdown-arrow (make it invisible)?

@paul-turner
Copy link
Contributor

Dynamically? or all together have it not show up?

@XxGoliathusxX
Copy link
Author

Dynamically

@paul-turner
Copy link
Contributor

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.

@XxGoliathusxX
Copy link
Author

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.

@paul-turner
Copy link
Contributor

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)

@XxGoliathusxX
Copy link
Author

Ok, thats seems difficult maybe ill find sth else

@Vengat121
Copy link

Vengat121 commented Jun 27, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants