Github_Kotlin

Results 9 issues of Github_Kotlin

横着或者倒着拍摄,拍摄的照片方向无法自动纠正。

## Current use version? #### 当前使用的版本是多少? ``` 3.0.7 ``` ## Will this problem occur in demo? #### Demo能否复现这问题? ``` ``` ## Describe the problem or provide an error log? ####...

测试滑动删除界面,侧滑返回时反应不灵敏,不如其他界面,经常不会触发滑动返回操作

if (mWindow != null) { WindowManager.LayoutParams params = mWindow.getAttributes(); params.alpha = 1.0f; mWindow.setAttributes(params); //一定要清除Flags 不然使用DialogFragment会有冲突~ mWindow.clearFlags(WindowManager.LayoutParams.FLAG_DIM_BEHIND); }

已解决Apk测试: 链接: [https://pan.baidu.com/s/15Bd7b9ggxfXxAl2-J4nqmQ?pwd=4ap6 ](https://pan.baidu.com/s/15Bd7b9ggxfXxAl2-J4nqmQ?pwd=4ap6)提取码: 4ap6

我用了不同文件系统的SD卡测试读取SD卡上的照片,发现NTFS、exFAT文件系统的SD卡数据很慢,读取FAT32就很快, 代码如下: ` private fun setupDevice() { try { massStorageDevices[currentDevice].init() // we always use the first partition of the device currentFs = massStorageDevices[currentDevice].partitions[0].fileSystem.also { Log.d(TAG, "Capacity: " + it.capacity) Log.d(TAG,...

## Current use version? #### 当前使用的版本是多少? ``` 3.11.2 ``` ## Will this problem occur in demo? #### Demo能否复现这问题? ``` 可以,必现 ``` ## Describe the problem or provide an error log?...

例如横着或者倒着拍的照片,拍出的照片方向不能自动纠偏。。。倒着的不能纠正,横着的也不能纠正~

我看项目中的ViewModel都是通过by lazy 对象的构造方法实例化的,这样实例化的ViewModel 是不是不能保证ViewModel与Fragment、activity的生命周期关联?例如: private val mViewModel: WanViewModel by lazy { WanViewModel() } 是不是应该用ViewModelProvider或者ViewModelProvider.Factory去实例化比较好?