File tree Expand file tree Collapse file tree 1 file changed +6
-0
lines changed
app/src/main/java/com/iknow/android/features/select Expand file tree Collapse file tree 1 file changed +6
-0
lines changed Original file line number Diff line number Diff line change 11
11
import com .iknow .android .databinding .VideoSelectLayoutBinding ;
12
12
import com .iknow .android .features .camera .view .CameraPreviewLayout ;
13
13
import com .iknow .android .features .camera .view .CameraPreviewSurfaceView ;
14
+ import com .iknow .android .utils .ToastUtil ;
14
15
import com .tbruyelle .rxpermissions2 .RxPermissions ;
15
16
import iknow .android .utils .callback .SimpleCallback ;
16
17
@@ -82,6 +83,11 @@ private void initCameraPreview() {
82
83
mBinding .openCameraPermissionLy .setVisibility (View .GONE );
83
84
cameraPreviewLayout .show (mSurfaceView );
84
85
mSurfaceView .startPreview ();
86
+ mBinding .cameraPreviewLy .setOnClickListener (new View .OnClickListener () {
87
+ @ Override public void onClick (View v ) {
88
+ ToastUtil .show (VideoSelectActivity .this , "功能开发中..." );
89
+ }
90
+ });
85
91
}
86
92
87
93
@ Override protected void onResume () {
You can’t perform that action at this time.
0 commit comments