RichPath
RichPath copied to clipboard
app crash when load map svg
@tarek360 getting this error on load of svg getting null pointer error some times on click of path
richPathView.setOnPathClickListener { richPath ->
MyLog.e(TAG,richPath.name) // error line
}
some times not getting path name i have to click multiple times why it is taking time
this is my code in xml
<com.richpath.RichPathView
android:id="@+id/richPathView"
android:layout_width="match_parent"
android:layout_height="wrap_content"
app:vector="@drawable/ic_map" />
- it's also not allow me to change
android:layout_widthorheighti'll set particular width and height but it's not changing - if i increase size from drawable then it's doesn't show image in all device ex.(if i increase size
android:width="530dp"
android:height="411dp"
in drawable then it's doesn't show image)
this is my svg file which i am trying to show https://a.uguu.se/jT23gktObtVY_ic_map.xml
Please share the content of your ic_map.xml file.