在listview或gridview中,用index去获颜色,挨个取一遍

1
Colors.primaries[index % Colors.primaries.length]