-
-
Notifications
You must be signed in to change notification settings - Fork 42
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
Automatic spacing based on time of entries #11
Comments
quick answer: also, problem that your having is not quite general. which means it might not be right to implement in the package itself. p.s other solution: // or since timeline view is internally just a listview, you can pass seperator builder to it, having different sized diver by the time interval. |
I'll close this issue. if you have any other question, please re-open it or create a new one. thanks |
@softmarshmallow Thanks for the help. I was able to get this largely working using a separator builder. I noticed two things not sure if they're bugs or not. When I start supplying a separator builder for some reason the line starts drawing on top of the first indicator dot instead of underneath it. If I comment out the separator builder it worked as normal. Also when using the separator builder the lines are broken as they don't seem to take all of the space of the separator. I've attached a screenshot. I plan to continue to play around if I figure out a fix would you be interested in a pull request? |
@bbrosius sure i’de be happy to. however, again, Id’e be happy to take your PR and add as contributor Ill take a look on this issue in this weekend |
@bbrosius haven't heard you for a while. would it be ok to close this issue? or shall i wait for the PR |
@softmarshmallow Sorry didn't manage to get to it last week. I still plan to submit a PR but we can close this issue. |
I'm curious if there is a way to make the timeline adjust where items appear based on the gap in time between events. For example items that are five minutes apart might be spaced 5 px. Whereas items an hour apart would have more spacing say 20 px.
If this isn't something that can be done automatically in the library, I'd be any thoughts you had on how to manually do this in the app using the library.
The text was updated successfully, but these errors were encountered: