http://blog.csdn.net/yhaolpz/article/details/51304345 ContentProvider 详细总结
2016-05-04
private void addTag(String contactName) {
TextView textView= (TextView) mInflater.inflate(R.layout.tag,mFlContacts,false);
}这个方法textview这一行报错
Caused by: java.lang.ClassCastException: android.widget.LinearLayout cannot be cast to android.widget.TextView
TextView textView= (TextView) mInflater.inflate(R.layout.tag,mFlContacts,false);
}这个方法textview这一行报错
Caused by: java.lang.ClassCastException: android.widget.LinearLayout cannot be cast to android.widget.TextView