[FIXED] if the vector not exist in first time but after some seconds the app will crash.
AmineLAHRIM opened this issue · comments
Amine LAHRIM commented
i test the RIchPathView inside the ZoomLayout
please modify the code in RichPathView:
@OverRide
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
//if (vector == null) return;
int desiredWidth = (int) (vector == null ? 0 : vector.getWidth());
int desiredHeight = (int) (vector == null ? 0 : vector.getHeight());