1

NullpointerException in getview layoutinflator

view story
linux-howto

http://stackoverflow.com – Getting null pointer exception in BaseAdapter when displaying data in CustomListview public View getView(final int position, View convertView, ViewGroup parent){ // TODO Auto-generated method stub ViewHolder holder = null; LayoutInflater layout = getActivity().getLayoutInflater(); convertView = layout.inflate(R.layout.player, null); View vi = convertView; if (vi == null) { holder = new ViewHolder(); holder.tProduct = (TextView) vi.findViewById(R. (HowTos)