【发布时间】:2019-03-20 09:15:36
【问题描述】:
在将 kotlin 版本更新到 1.3.0 后,我遇到了上述问题
下面是代码,
public class SequenceLayout(context: Context?, attrs: AttributeSet?, defStyleAttr: Int)
: FrameLayout(context, attrs, defStyleAttr), ViewTreeObserver.OnGlobalLayoutListener {
}
第一行我明白了。问题 。请帮我解决这个问题。
【问题讨论】:
-
删除 ?从上下文