Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Custom circular view [closed]

I want to create a view shown in image below

enter image description here

like image 889
Sandip Jadhav Avatar asked Oct 28 '14 06:10

Sandip Jadhav


1 Answers

I think it's very late response, but It can helpful to others as well.

I find a library, reworked on listview and implemented circular list. Library is here and some snippet of code

public void changeGroupFlag(Object obj) throws Exception
    {
        Field[] f = obj.getClass().getSuperclass().getSuperclass().getSuperclass().getDeclaredFields(); // Mapping array members
        for (Field tem : f) 
        {
            if (tem.getName().equals("mGroupFlags")) {
                tem.setAccessible(true);
                Integer mGroupFlags = (Integer)tem.get(obj); 
                int newGroupFlags = mGroupFlags & 0xfffff8;
                tem.set(obj, newGroupFlags);
            }
        }
    }

source

enter image description here

like image 132
RBK Avatar answered Nov 06 '22 08:11

RBK