Duran k
Duran k

Reputation: 91

How to create circular Container in codenameone?

How can I create a circular container items to create the effect of circular movement like a carrusell in codenameone?

When the last element showed in the screen arrise the visibility, then the first item it show from bottom and if I touch this container to UP, then the first item it showed from below of the container.

enter image description here

Upvotes: 1

Views: 48

Answers (1)

Shai Almog
Shai Almog

Reputation: 52760

This isn't possible in a layout since components map to specific locations. However, List supports this functionality using:

list.setFixedSelection(List.FIXED_NONE_CYCLIC);

Upvotes: 0

Related Questions