Android: InflateException in custom ListView-Record and share programming errors
While inflating custom ListView row layout I’m getting this exception.
E/AndroidRuntime(1241): android.view.InflateException: Binary XML file line #6: Error inflating class
See the code below for reference…
CustomListViewAdapter.java
public View getView(final int position, View convertView, ViewGroup parent) {
holder = null;
ListViewRowData rowItems = (ListViewRowData) getItem(position);
LayoutInflater inflater = (LayoutInflater) context
.getSystemService(Activity.LAYOUT_INFLATER_SERVICE);
if (convertView == null) {
convertView = inflater.inflate(R.layout.list_row, null); //
Originally posted 2013-10-27 22:37:54.