android 中的移动接口

    技术2022-05-20  64

     dragController.addDropTarget(workspace);

    dragController.setMoveTarget(workspace);

    dragController.setDragScoller(workspace);

    workspace.setDragController(dragController);

    同时WORKSAPCE要实现这几个方法,这几个方法是GOOGLE写好的,我们直接使用就可以了.


    最新回复(0)