public static void main(String[] args) throws Exception{ // TODO Auto-generated method stub AA a=new AA(1,"wms1"); BB b=new BB(2,"wms2"); //显示某对象的某方法和某属性 show(a,"show"); } //对未知类型的对象操作 public static vo id show(Object obj,String method_name)throws Ex
自定义布局实现仿qq侧滑部分Android代码,供大家参考,具体内容如下
源码DEMO地址:https://github.com/applelili/ImitationQQ
实现说明:
通过自定义布局实现:
SlidingLayout继承于 HorizontalScrollView
/**
* Created by Administrator on 2017/3/29.
*/
public class SlidingLayout extends HorizontalScrollView{