From d5e02a282e9a007040fbc13c389f47af8bff3b8a Mon Sep 17 00:00:00 2001 From: longyuan <794334212@qq.com> Date: Thu, 10 Mar 2016 10:50:33 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0=20AutoUtils.autoSize(this)?= =?UTF-8?q?=20=E4=BD=BF=E7=94=A8=E6=B3=A8=E6=84=8F=E4=BA=8B=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit AutoUtils.autoSize(this); 使用前请保证当前View已经设置了LayoutParams --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index a0d78ed..680c025 100644 --- a/README.md +++ b/README.md @@ -237,6 +237,7 @@ public View getView(int position, View convertView, ViewGroup parent) } ``` +> AutoUtils.autoSize(this); 使用前请保证当前View已经设置了LayoutParams 注意` AutoUtils.autoSize(convertView);`这行代码的位置即可。demo中也有相关实例。