We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5c4ce3a commit 6cf4ae9Copy full SHA for 6cf4ae9
1 file changed
krscript/src/main/java/com/omarea/krscript/ui/ParamsAppChooserRender.kt
@@ -149,7 +149,7 @@ class ParamsAppChooserRender(
149
val apps = pm.getInstalledApplications(PackageManager.MATCH_ALL)
150
151
val result = HashMap<String, AdapterAppChooser.AppInfo>(apps.size)
152
- val batch = ArrayList<AdapterAppChooser.AppInfo>(10)
+ val batch = ArrayList<AdapterAppChooser.AppInfo>(20)
153
154
for ((index, app) in apps.withIndex()) {
155
val pkg = app.packageName
@@ -164,7 +164,7 @@ class ParamsAppChooserRender(
164
}
165
166
// đổ batch
167
- if (batch.size == 10 || index == apps.lastIndex) {
+ if (batch.size == 20 || index == apps.lastIndex) {
168
val copy = ArrayList(batch)
169
batch.clear()
170
0 commit comments