[fea]
[展示二维码]
This commit is contained in:
yangyakun
2024-10-08 17:11:08 +08:00
parent 3dab4254f9
commit 7f13613bd3
2 changed files with 11 additions and 0 deletions

View File

@@ -18,6 +18,8 @@ interface CommonService : IProvider {
fun createOchBusinessView(context: Context?):View?{return null}
fun createOchBindQRCodeView(context: Context?):View?{return null}
fun createStartAutopilotView(context: Context?):View?{
return context?.let {
AutopilotState(it)

View File

@@ -53,6 +53,15 @@ class OchCustomViewProvider : IOchCustomViewProvider {
}
}
override fun createOchBindQRCodeView(context: Context?): View? {
if(commonService==null){
getCommontService(context)
}
return context?.let {
commonService?.createOchBindQRCodeView(it)
}
}
/**
* 创建 自动自动驾驶 自定义 View
*/