Unfortunately I can't find any documentation on how to use the new Lineair compose mode, so I've just been playing around a bit, but I'm getting this error.
My Code:
ArrayList<XXX> genres = YYY.getAllGenres();
// Load data into view
hashtagView.setData(genres, new HashtagView.DataTransform<XXX>() {
@Override
public CharSequence prepare(XXX item) {
// code here
return spannableString;
}
});
hashtagView.setComposeMode(HashtagView.COMPOSE_LINEAR);
Error:
java.lang.ArrayIndexOutOfBoundsException: length=9; index=9
at com.greenfrvr.hashtagview.HashtagView$LinearComposer.evaluateRowsQuantity(HashtagView.java:923)
Unfortunately I can't find any documentation on how to use the new Lineair compose mode, so I've just been playing around a bit, but I'm getting this error.
My Code:
Error:
line 923 in HashtagView:
rowsWidth[rowsCounter] += item;