TonicArtos / SuperSLiM

A layout manager for the RecyclerView with interchangeable linear, grid, and staggered displays of views, all with configurable section headers including the sticky variety as specified in the material design docs.
http://tonicartos.nz
2.12k stars 296 forks source link

failed to inflate the layout for item or the header Sudden crashed #131

Closed jjhesk closed 7 years ago

jjhesk commented 9 years ago

Method threw 'java.lang.NullPointerException' exception. Cannot evaluate com.hkm.hbstore.adapters.BrandAdapter$XmlHolder.toString()

I got this throw after the first screen of layouts were initialized. I have no clue how come the

    view = LayoutInflater.from(parent.getContext())
                    .inflate(R.layout.slm_item, parent, false);

as the viewholder for the cell has been suddenly stopped working