Open Derpalus opened 7 years ago
is this specific to that layout preview in AS?
I don't quite understand what you mean. All I know is I get a render exception when I add a TileView to my view xml and that Android Studio suggests using View.isInEditMode() for custom views to avoid the problem.
Ok thanks
Just a simple suggestion to add functionality so TileViews can be added in xml without having an xml compilation error in Android Studio.
I think it's as easy as adding
just after the super call in the constructors of TileView and ZoomPanLayout. But I have never made my own custom view in Android so I don't know if that is all that is required. Perhaps some sort of basic rendering placeholder has to be handled as well?