Wednesday, November 14, 2012

How to create Circular List in Android

I developed this circular list for Android.
Related help already available on web.

Logic for circular list.

1. Create circular list using Table Layout.
2. Add dynamic row with row items.
3. get x y coordinates of dynamic row and this coordinates compare with screen window position. If row coordinates and targeted screen coordinates match then set left margin you have to need.

|@
|->@
|--->@
|----->@
|------>@
|------->@
|------->@
|------->@
|------>@
|----->@
|---->@
|-->@
|@

Above diagram shown my logic...

I developed circular list this is shown in above image..

If you want help regarding this.
Mail me: ranjitvcsc@gmail.com
----------------------------------------------------
Thank you-Ranjit
---------------------------------------------------- 

3 comments:

  1. Any source code of this solution?

    ReplyDelete
  2. Hi ranjit,
    Could i get any source code for this example. Thanks in advance.

    ReplyDelete
  3. Hi Ranjit.. Can u share source code for this?

    ReplyDelete