devendroid / VectorChildFinder

VectorChildFinder helps to find inner elements of vector drawable like path and group.
Apache License 2.0
202 stars 41 forks source link

PathParser is not public dont use createNodesFromPathData, #2

Open JW-web opened 6 years ago

JW-web commented 6 years ago

Unfortunately, the PathParser class is not Pablic. Therefore, you can not access PathDataNode from another package. Because the class is only visible in its own package. For example, the methods createNodesFromPathData, createPathFromPathData are not visible. Also the inner class and the data type "PathDataNode" are not visible. The inner class is public, but the outer class is not public. Therefore, you can not create the PathDataNode data type and use the getPathData setPathData method. I loaded your package into my project and changed the class to public. So I can also use the methods createNodesFromPathData, and setPathData. Importing via compile 'com.github.devsideal: VectorChildFinder: 1.0.0' does not make sense to me, as long as you have not changed that.