RichPath icon indicating copy to clipboard operation
RichPath copied to clipboard

app crash when load map svg

Open Miteshmakwana73 opened this issue 5 years ago • 1 comments

@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_width or height i'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

Miteshmakwana73 avatar Feb 25 '20 07:02 Miteshmakwana73

Please share the content of your ic_map.xml file.

tarek360 avatar Jun 10 '20 02:06 tarek360