JavaNoober / BackgroundLibrary

A framework for directly generating shape through Tags, no need to write shape.xml again(通过标签直接生成shape,无需再写shape.xml)
Apache License 2.0
3.86k stars 469 forks source link

预览和kotlin不兼容啊,请问有好的办法吗 #66

Closed huafresh closed 5 years ago

huafresh commented 5 years ago

预览需要特定的控件,而kotlin有个避免findviewById的特性,会自动强转成xml编写的控件,因此会引发强转崩溃,

JavaNoober commented 5 years ago

这个问题我试了下,确实存在,暂时只能先去掉xml里的BLView,我看一下有什么好的处理方法

JavaNoober commented 5 years ago

@huafresh 这个问题已经修复,更新到最新的1.4.4即可