2
我在LayoutInflater
代码中看到实际视图类为instantiated via reflection(LayoutInflater
- createView()
方法),但是我无法看到在该视图上设置了实际属性的位置。LayoutInflater属性
有人可以指向AttributeSet
实际应用于instantaited视图的位置吗?
我在LayoutInflater
代码中看到实际视图类为instantiated via reflection(LayoutInflater
- createView()
方法),但是我无法看到在该视图上设置了实际属性的位置。LayoutInflater属性
有人可以指向AttributeSet
实际应用于instantaited视图的位置吗?
见584行中提到代码:
Object[] args = mConstructorArgs;
args[1] = attrs;
return constructor.newInstance(args);
这是在底部...,请检查:
Object[] args = mConstructorArgs;
args[1] = attrs;
return constructor.newInstance(args);
哈哈,看起来并不足够接近。谢谢。 – Steve 2012-03-30 15:23:10