JessYanCoding / JessYanCoding/AndroidAutoSize
列表item大小会自己变
- 主要語言
- Java
- 星號
- 13.7k
- 分支
- 2k
- PR 合併指標
- 30 天內沒有已合併 PR
描述
### Environment
- [x] Autosize Version: 1.2.1
- [x] Target Android Version: 28
- [x] Device Model: 华为p10 plus
- [x] Device Resolution: 1920* 1080
- [x] Design Size On AndroidManifest: 1280*720
机型无关,其它手机也会出现
### Bug Description:
看了答疑,在adapter的onBindHodlder方法中调用了
AutoSize.autoConvertDensityOfGlobal(activity)
但是还是出现了item布局时大时小的问题。
图片中的两个item,内容一模一样的,但是展示却不一样。返回到桌面,过十几秒再进入APP,复现概率大。
### Log:
```log
```
### Screenshot

### Related Code:
```java
```

### Others:
貢獻指南
這個儲存庫沒有索引到貢獻指南
研究方向
Start by reproducing the inconsistent item sizing on Android 8.0/API 28 with AndroidAutoSize 1.2.1, using the adapter's onBindHodlder call to AutoSize.autoConvertDensityOfGlobal(activity) as the initial entry point. Compare identical items across re-entry to the app; done means the same item layout renders consistently, with the cause confirmed rather than only observed.
由索引模型根據 Issue 內容生成。
評估
- 技術堆疊
- android, java
- 領域
- mobile
- Issue 類型
- 缺陷
- 難度
- 4/5
- 預估耗時
- 3-5 天
- 活躍度
- 停滯
- 描述清晰度
- 需要釐清
- 新手友好度
- 25/100