KKGridView
KKGridView copied to clipboard
Horizontal mode?
Is it possible to add a horizontal mode as well (left-to-right / right-to-left)? I can imagine some cases in which this would be really useful if it had a vertical and horizontal mode..
I am also interested in an horizontal mode.
I may start hacking the code to add support for this. Do you have any ideas on how implement this API-wise ? I think its important to keep the API clean and simple — even if supporting horizontal mode will add some complexity.
Our current GridView implementation uses a GridLayoutOrientation
property which can be set by using enum values GridLayoutVertical
and GridLayoutHorizontal
.
Making sure the default is GridLayoutVertical
ensures that everyone that isn't interested in a horizontal layout won't be confused and everyone that is interested can make it happen by calling a single setter.
Would this be a simple enough solution?
I think that sounds pretty good... Is there an option for left-to-right or right-to-left as well?
Just to clarify, I'm not talking about an implementation of KKGridView, just our own code which accomplishes the same. I was just suggesting a way for the API of KKGridView to be kept simple.
Yes, I definitely wanted to add this. Will definitely be pursuing it personally once I'm done with the main implementation.
I'm also interested in vertical scrolling. If not implemented here, could anyone recommend another grid view that does support that? (AQGridView supports that but it's buggy)
I think we've got vertical scrolling down already ;)
oh yeah, of course I meant that I need Horizontal scrolling of course...