0
Quelle est la différence entreQuelle est une bonne façon d'appeler obtainStyledAttributes() dans des vues personnalisées Android
TypedArray a = context.getTheme().obtainStyledAttributes(attrs, R.styleable.CustomView, 0, 0);
et
TypedArray a = context.obtainStyledAttributes(attrs, R.styleable.CustomView, defStyleAttr, 0);