Comments (8)
这个已经修复了。我明天提交代码,你看下。
from fileexplorer.
确实是有这样的问题,希望尽快 commit code
from fileexplorer.
已经提交代码了,请验证效果是否理想。tab切换,避免重新createView而出现的卡顿
from fileexplorer.
确实不卡了,不过为什么参数是2?
from fileexplorer.
难道说第三个page的编号是2?
from fileexplorer.
你看一下修改的summary。默认的值为1, 所以在tab切换的时候,会有recreate,会有数据加载,导致卡。现在设为2,就全部在内存里。
ViewPager.java类中的setOffscreenPageLimit函数的注释:
If you have a small number of pages (3-4)
that you can keep active all at once, less time will be spent in layout for
newly created view subtrees as the user pages back and forth.
from fileexplorer.
你看一下修改的summary。默认的值为1, 所以在tab切换的时候,会有recreate,会有数据加载,导致卡。现在设为2,就全部在内存里。
ViewPager.java类中的setOffscreenPageLimit函数的注释:
If you have a small number of pages (3-4)
that you can keep active all at once, less time will be spent in layout for
newly created view subtrees as the user pages back and forth.
from fileexplorer.
查了下ViewPage预加载的资料明白了
from fileexplorer.
Related Issues (20)
- 2.2 的版本好像不能使用
- Spanish, Internal Memory File Acces And More Options.
- ftp 文件上传,中文文件名乱码
- ftp 文件上传,中文文件名乱码 HOT 3
- 小米开源项目FileExplorer 疑似缺胳膊少腿,是否真的开源? HOT 4
- Search Bar HOT 1
- The functions of delete and cut has error.删除,粘贴 等功能报错,大家存不存在这个问题? HOT 4
- android studio HOT 1
- 文件删除异常(File delete error) HOT 2
- 适配跟UI 都很差 感觉跟小米的文件管理器差距很大 HOT 2
- 文件管理器无法对外置的SD卡进行操作
- Potential issue for an integer overflow
- Another potential issue for integer overflow
- file
- Bruh
- Compilation via F-Droid has ceased.
- U盘插入后读取文件很慢
- File explorer
- file HOT 1
- Hello World
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fileexplorer.