94k
94k
1.进度增加N,出一片叶子,但是每次出的时候判断一下上一片叶子距离初始位置的距离,如果太近,就不出了,保证两片叶子不会太近或者重叠 2.单位时间内,每出N片叶子,或者进度增加N,风扇速度值增加 N*系数,不出叶子,就减少一个值,然后有上限和下限。 我基于这个思路实现了一个效果,但是效果比较渣,偶尔会一卡一卡的,可能是系数没有掌握好
修复当item不足一页时,上滑,item乱跳的bug
既然没有复用item(item可能是普通view,也可能是列表),也没有做到只在屏幕中显示,那么可以用recyclerview的itemtype,在onbindviewholder中控制一下,让每个item只绑定一次数据 ``` public void onBindViewHolder(BaseHolder holder, int position) { //保证一个模块只能被设置一次,避免回收、复用、重复设置,如果内部是子RecyclerView等复杂布局重复设置内部的数据耗时 if (!holder.isBindData()) { try { holder.bindData(data.get(position)); } catch (Exception e) { } holder.setBindData(true); } } //设置HasStableIds searchFilterAdapter.setHasStableIds(true); 通过以下代码可以获取到对应的holder,从而更新ui(每个item的数据设置都在holder中做) RecyclerView.ViewHolder viewHolder...
### FAQ - [X] I have checked the [FAQ](https://github.com/hrsh7th/nvim-cmp/blob/main/doc/cmp.txt) and it didn't resolve my problem. ### Announcement - [X] I have checked [Breaking change announcement](https://github.com/hrsh7th/nvim-cmp/issues/231). ### Minimal reproducible full config...
### Self Checks - [x] I'm using the latest lualine. - [x] I didn't find the issue in existing issues or PRs. ### How to reproduce the problem ``` 1....
./media-get-0.2.13-darwin-arm64 -u "https://music.migu.cn/v3/music/song/60058623032" -l debug help!!! 
python编写脚本,调用Bypy api进行文件上传,上传一段时间(尤其是上传大文件),ssh就断开了,然后发现系统重启了,有人遇到过吗
ℹ 2 22:32:11 ℹ panic: Get "": unsupported protocol scheme "" 22:32:11 goroutine 1 [running]: main.main() ./main.go:25 +0xab