-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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
Add maxline
attribute support
#156
Comments
Thanks for the suggestion, but I don't come up with an use case where the maxLines attribute is useful. Like what use case do you expect that attribute? |
First issue I had when I tried FlexBoxLayout. It would be helpful if we had this attribute. In my case I have a FlexBoxLayout on top of a RecyclerView. The FlexBoxLayout shows the names of the selected elements in the list. In my case I don't want it to be more than two lines (otherwise the FlexBox would cover the screen if I select many elements), I would show a label "+N" for the rest of the selected items. |
what about this functionality? |
So, no progress with this? |
It would be useful in my case too. |
Same problem, i only need one line in header of RecyclerView |
I wanted to be careful for adding a feature that the original Flexbox doesn't have, but it looks like this is going to be useful for a lot of developers. |
Same problem, not only and |
Also looking for this feature. I noticed that this issue is closed but it references another issue which is also closed and references this issue. Maybe you should leave this one open since it hasn't been implemented yet. My use case is that I have is a list of items which could have only a few items or dozens. In the latter case, I don't want it to fill the entire screen and therefore need a limit to how many lines are shown. |
manager.setMaxLine(1) is useless for FlexboxLayoutManager.
add listener to RecyclerView:
|
@thagikura It should be |
How do I use Seems related to #440 |
hope to be added in order to limit the maxLines
The text was updated successfully, but these errors were encountered: