现在的位置: 首页 > Layout
0℃
2013年08月04日 移动开发 ⁄ 被围观 3,113+
在开发Android的过程中,涉及到list view什么的,应该经常会碰到加载layout的状况,那么平时使用inflate函数的时候,经常是怎么传递参数的?在不同的场合,比如list view的adapter中加载layout与在自定义Dialog中加载Layout,它们有没有特殊区别的地方,本文就会介绍inflate函数的正确使用方法,请学习一下。 Layout inflation is the term used within the context of Android to indicate when an XML layout resource is parsed and converted into a hierarchy of View objects. It’s common practice in t...
阅读全文
×
腾讯微博