讲师回答 / hyman
目前,上述课程不支持多布局的情况,不过我在github添加了多布局的支持https://github.com/hongyangAndroid/base-adapter-helper , 代码不一定一模一样,可以借鉴。
2015-04-19
讲师回答 / hyman
目前,上述课程不支持多布局的情况,不过我在github添加了多布局的支持https://github.com/hongyangAndroid/base-adapter-helper , 代码不一定一模一样,可以借鉴。
2015-04-19
已采纳回答 / hyman
恩,不是单例,会根据传入的参数去返回ViewHolder,如果当前convertView中已经setTag为ViewHolder则直接返回,否则根据参数构建个新的ViewHolder,并通过setTag绑定。
2015-04-17