VectorDrawableCompat$VFullPath.setFillColor(int)// on a null object reference
VectorChildFinder vector = new VectorChildFinder(this,
R.drawable.ic_lilly, imageView1);
VectorDrawableCompat.VFullPath dressPath = vector.findPathByName("dress_path");
dressPath.setFillColor(getResources().getColor(android.R.color.holo_purple));
imageView1.invalidate();
我正在使用
implementation 'com.github.devsideal:VectorChildFinder:1.0.0'