Releases: pili-engineering/QAuth_Android
Releases · pili-engineering/QAuth_Android
v1.0.5
新增方法:
设置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"
/>