Unable to inflate view tag without class attribute
Process: com.tongyun.reindex.salesman, PID: 30098
java.lang.NullPointerException: Attempt to invoke virtual method'boolean java.lang.String.equals(java.lang.Object)' on a null object reference
atandroid.view.LayoutInflater.createViewFromTag(LayoutInflater.java:715)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:806)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:809)
at android.view.LayoutInflater.rInflate(LayoutInflater.java:809)
at android.view.LayoutInflater.inflate(LayoutInflater.java:504)
atandroid.view.LayoutInflater.inflate(LayoutInflater.java:414)
at android.view.LayoutInflater.inflate(LayoutInflater.java:365)
atcom.tongyun.reindex.salesman.Adapter.MaterialStockAdapter.getView(MaterialStockAdapter.java:58)
找了半天 才发现问题竟然是XML里面 View 写错成 view