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

Fatal error on RichPathView#onMeasure() #12

Closed
duribreux opened this issue Sep 4, 2017 · 3 comments
Closed

Fatal error on RichPathView#onMeasure() #12

duribreux opened this issue Sep 4, 2017 · 3 comments

Comments

@duribreux
Copy link

duribreux commented Sep 4, 2017

Woow. Doing few more tests after posting I solved my problem... ¯_(ツ)_/¯

@duribreux duribreux changed the title Crash - How to use RichPath into a custom view ? com.richpath.RichPathView#onMeasure() did not set the measured dimension by calling setMeasuredDimension() Sep 4, 2017
@duribreux duribreux changed the title com.richpath.RichPathView#onMeasure() did not set the measured dimension by calling setMeasuredDimension() Fatal error on RichPathView#onMeasure() Sep 4, 2017
@MMagomedov
Copy link

Hi, can you explain how you fix this?

@duribreux
Copy link
Author

@MMagomedov Sorry I don't remember this one. Was probably a setup mistake I had made.
Take a look at the given sample & compare with your implementation.

@MMagomedov
Copy link

@duribreux I fixed it. The problem was that it was necessary to set the app:vector parameter in the xml instead of android:src for the ImageView

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

2 participants