Android Extensions: Support cache in custom Views

This commit is contained in:
Yan Zhulanow
2017-06-02 22:26:01 +03:00
parent c9cd1a4d75
commit 1a1db5a6f1
5 changed files with 47 additions and 1 deletions
@@ -28,7 +28,7 @@ enum class AndroidClassType(className: String, val supportsCache: Boolean = fals
DIALOG(AndroidConst.DIALOG_FQNAME, supportsCache = false),
SUPPORT_FRAGMENT_ACTIVITY(AndroidConst.SUPPORT_FRAGMENT_ACTIVITY_FQNAME, supportsCache = true),
SUPPORT_FRAGMENT(AndroidConst.SUPPORT_FRAGMENT_FQNAME, supportsCache = true, fragment = true),
VIEW(AndroidConst.VIEW_FQNAME),
VIEW(AndroidConst.VIEW_FQNAME, supportsCache = true),
UNKNOWN("");
val internalClassName: String = className.replace('.', '/')