Skip to content
This repository has been archived by the owner on Oct 8, 2021. It is now read-only.

[FIXED] if the vector not exist in first time but after some seconds the app will crash. #61

Open
AmineLAHRIM opened this issue Feb 4, 2020 · 0 comments

Comments

@AmineLAHRIM
Copy link

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());
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant