这句话是写在第4点 Use the Custom Component中∶
Notice that the MyEditText class is now a separate class file.
1.When the class is nested in the NoteEditor class, this technique will not work.
我还没真实遇到,Diigo先!
总之告诉我们如果将自己写的View写成内部类时,
XML会找不到!
MergeAdapter accepts a mix of Adapters and Views and
presents them as one contiguous whole to whatever ListView
it is poured into. This is good for cases where you have
multiple data sources, or if you have a handful of ordinary
Views to mix in with lists of data, or the like.