Skip to content

v1.0.5

Latest
Compare
Choose a tag to compare
@MJLblabla MJLblabla released this 18 Mar 03:01
e25041f

新增方法:

设置UI事件回调

QAuth.setUIEventListener(object : UIEventListener {
    override fun onPrivacyCheckBoxStateChange(checked: Boolean) {
        Log.d("UIEventListener","隐私协议勾选框同意状态变化 $checked") 
    }
    override fun loginBtnClicked() {
        Log.d("UIEventListener","登陆按钮点击事件")
    }
})

方法原型

 public static void setUIEventListener(UIEventListener listener)

LoginPage设置隐私协议链接是否带下划线

//隐私协议链接是否带下划线(如果xml配置了链接和下划线会覆盖代码设置
loginPage.isPrivacyTextUnderlineText = true
<com.qiniu.qlogin_core.view.PrivacyTextView

    app:isUnderlineText="false"

 />