You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
if (isInEditMode())
return;
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?
The text was updated successfully, but these errors were encountered:
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.
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?
The text was updated successfully, but these errors were encountered: