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:

  1. createintarray() (without parameter)
  2. 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

Popular posts from this blog

javascript - How to get current YouTube IDs via iMacros? -

c# - Maintaining a program folder in program files out of date? -

emulation - Android map show my location didn't work -