Custom circular view [closed]

前提是你 提交于 2020-02-17 14:04:11

问题


I want to create a view shown in image below


回答1:


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



来源:https://stackoverflow.com/questions/26602393/custom-circular-view

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!