jhon

Results 20 issues of jhon

原方法: @Override public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { isFling = true; touchUpScrollY = getScrollY(); if (touchUpScrollY < 0) { scrollerStartScroll(touchUpScrollY, 0 - touchUpScrollY, animationTime); }...

DexposedBridge.hookAllConstructors(ImageView.class, new XC_MethodHook() { @Override protected void afterHookedMethod(MethodHookParam param) throws Throwable { super.afterHookedMethod(param); DexposedBridge.findAndHookMethod(ImageView.class, "setImageBitmap", Bitmap.class, new ImageHook()); } });

回调过来的数据public void onPreviewResult(byte[] nv21Yuv) { //处理流直接播放 }

请问可以直接播放流吗?byte[] nv21Yuv这种,谢谢!

版本11 ,出现打开相机失败情况解决 因cameraIntent.resolveActivity(getPackageManager())返回为空, 博主抽个时间替换一下吧 context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_CAMERA_ANY) hasSystemFeature方法进行判断相机是否可用。

BaseSectionQuickAdapter 设置GridSectionAverageGapItemDecoration间距无效

- Make sure you compiled the latest version.(确保你编译了最新版本) - Describe the scenarios or operates when crash happened as much as possible(pictures would be better).(尽可能详细的描述崩溃时的场景或操作,最好有截图) - Tell me your device type...