java - Importing StaggeredGridView library - Parcel.CreateIntArry() not applicable for Parcel.CreateIntArry(int[]) error -
i've been trying import staggeredgridview library in eclipse. works fine except error in staggeredgridview.java.
in following method of class
private savedstate(parcel in) { super(in); firstid = in.readlong(); position = in.readint(); in.createintarray(topoffsets); //error here in.readtypedlist(mapping, colmap.creator); } eclipse shows error
the method createintarray() in type parcel not applicable arguments (int[])
any suggestions how rid of error?
the error showing because parcel class not define createintarray(int[]) method takes parameter. there 2 options:
createintarray()(without parameter)readintarray(int[])
based on commit that's causing compile error, used readintarray(int[]). i'm not sure why changed in first place, seems related staggeredgridview not being restored properly. time being, may want change how before, , keep eye out new commits git repo.
Comments
Post a Comment