You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have searched existing issues and confirmed this is not a duplicate
Issues and steps to reproduce
I have tried to get a column breaking index. but every time getFlexLines() and getFlexLinesInternal() give empty list return empty list.
Expected behavior
Please describe what you expected would happen.
Version of the flexbox library
implementation 'com.google.android:flexbox:1.0.0
Link to code
FlexboxLayoutManager layoutManager = new FlexboxLayoutManager(mcontext);
layoutManager.setFlexDirection(FlexDirection.COLUMN);
layoutManager.setJustifyContent(JustifyContent.FLEX_START);
layoutManager.setFlexWrap(FlexWrap.WRAP);
myViewHolder.rvItem.setLayoutManager(layoutManager);
itemAdapter = new ItemAdapter(mcontext,mData.get(i));
myViewHolder.rvItem.setAdapter(itemAdapter);
int a = layoutManager.getAlignContent();
int b = layoutManager.getAlignItems();
int c = layoutManager.getJustifyContent();
int d = layoutManager.getMaxLine();
int e = layoutManager.getLargestMainSize();
//int f = layoutManager.getFlexItemCount();
int g = layoutManager.getSumOfCrossSize();
int h = layoutManager.getFlexWrap();
int j = layoutManager.getChildCount();
int k = layoutManager.getBaseline();
int l = layoutManager.getItemCount();
List<FlexLine> flexLines = layoutManager.getFlexLines();
List<FlexLine> flexLines1 = layoutManager.getFlexLinesInternal();
int m = layoutManager.getHeight();
System.out.println("l_index "+ a+" "+ b+" "+c +" "+d +" "+e+" "+g+" "+h+" "+j+" "+k+" "+l+" "+flexLines+" " +flexLines1+ " "+ " " + " "+m +" ");
The text was updated successfully, but these errors were encountered:
Issues and steps to reproduce
I have tried to get a column breaking index. but every time getFlexLines() and getFlexLinesInternal() give empty list return empty list.
Expected behavior
Please describe what you expected would happen.
Version of the flexbox library
implementation 'com.google.android:flexbox:1.0.0
Link to code
FlexboxLayoutManager layoutManager = new FlexboxLayoutManager(mcontext);
layoutManager.setFlexDirection(FlexDirection.COLUMN);
layoutManager.setJustifyContent(JustifyContent.FLEX_START);
layoutManager.setFlexWrap(FlexWrap.WRAP);
myViewHolder.rvItem.setLayoutManager(layoutManager);
itemAdapter = new ItemAdapter(mcontext,mData.get(i));
myViewHolder.rvItem.setAdapter(itemAdapter);
The text was updated successfully, but these errors were encountered: