You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to implement the FeatureCoverFlow I discovered that the covers are not laid out correctly and are not scrollable when the adapter does not provide enough items.
Example 1:
14 images
Width: match_parent (=screen width)
Everything works as expected.
Example 2:
9 images
Width: 200dp
Everything works as expected.
Example 3:
9 images
Width: match_parent (=screen width)
Everything works as expected on smaller screens (Samsung Galaxy S2, Samsung Galaxy Mini) but on a big screen (Nexus 5) the layout is not centered and the cover flow is not scrollable. (but OnClick events on the images work)
The text was updated successfully, but these errors were encountered:
If you don't have enough items you must set shouldRepeat true. This coverFlow implementation can not work without items filling space from edge to edge. It is because I used EndlessLoopAdapterContainer as a base class.
any advice on how to make it work with items NOT covering the whole space? One idea is to insert dummy invisible elements and disallowing scrolling to them (by scrolling back to the last real item on a onScrollToPosition event). What else?
While trying to implement the FeatureCoverFlow I discovered that the covers are not laid out correctly and are not scrollable when the adapter does not provide enough items.
Example 1:
14 images
Width: match_parent (=screen width)
Everything works as expected.
Example 2:
9 images
Width: 200dp
Everything works as expected.
Example 3:
9 images
Width: match_parent (=screen width)
Everything works as expected on smaller screens (Samsung Galaxy S2, Samsung Galaxy Mini) but on a big screen (Nexus 5) the layout is not centered and the cover flow is not scrollable. (but OnClick events on the images work)
The text was updated successfully, but these errors were encountered: