etsy / AndroidStaggeredGrid

An Android staggered grid view which supports multiple columns with rows of varying sizes.
https://github.com/etsy/AndroidStaggeredGrid
4.76k stars 1.13k forks source link

.Java Lang ClassNotFoundException com.etsy.android.grid.StaggeredGridView #72

Closed kevinkaburu closed 10 years ago

muetzenflo commented 10 years ago

You have most likely not declared the class member in your Activity/Fragment as a com.etsy.android.grid.StaggeredGridView. Read your logcat and see in what line of code the class cast should happen. It should look something like this:

StaggeredGridView gridView = (StaggeredGridView) findViewById(R.id.gvgridview);

Make sure your import statement in this class also uses the etsy-GridView package and not some other GridView (there are others out there with the same name).

denizmveli commented 10 years ago

"No description provided" - closing