Skip to content

1.6.3

Choose a tag to compare

@bonepeople bonepeople released this 26 Jan 03:15
· 92 commits to main since this release
  • 通过扩展函数为View添加简易的数据存取逻辑
    //调用putExtra方法将任意对象存储在View中,key可以是任意类型的对象
    views.buttonTest.putExtra("state", 1)
    
    //调用getExtra方法从View中获取存储的对象,获取失败时返回传入的默认值
    val state: Int = views.buttonTest.getExtra("state", 0)
    
    //调用removeExtra方法从View中移除存储的对象
    val state: Int = views.buttonTest.removeExtra<Int>("state")
  • 记录IntentLauncher的使用记录并在崩溃时输出

    在使用IntentLauncher打开页面发生崩溃时,将使用记录输出至崩溃信息中,方便后续查找问题并调整

  • 添加导航栏占位控件