[6.7.0]
[fea] [展示二维码]
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user