有扩展的 LayoutManager 框架吗?
Is there an extended LayoutManager framework?
如何扩展RecyclerView.LayoutManager?
是否有扩展的LayoutManager框架?
我想用android实现如下效果,请看图
我想知道如何定制
选项1-FlexboxLayout-https://github.com/google/flexbox-layout
选项 2-Chip/ChipGroup 使用随机函数。
Chip chip = findViewById(R.id.chip);
Random rnd = new Random();
int color = Color.rgb(rnd.nextInt(256), rnd.nextInt(256), rnd.nextInt(256));
chip.setChipBackgroundColor(ColorStateList.valueOf(color));
如何扩展RecyclerView.LayoutManager?
是否有扩展的LayoutManager框架?
我想用android实现如下效果,请看图
我想知道如何定制
选项1-FlexboxLayout-https://github.com/google/flexbox-layout
选项 2-Chip/ChipGroup 使用随机函数。
Chip chip = findViewById(R.id.chip);
Random rnd = new Random();
int color = Color.rgb(rnd.nextInt(256), rnd.nextInt(256), rnd.nextInt(256));
chip.setChipBackgroundColor(ColorStateList.valueOf(color));