block-network / blockmiui Goto Github PK
View Code? Open in Web Editor NEWBlockMIUI / 方米UI
License: GNU Lesser General Public License v2.1
BlockMIUI / 方米UI
License: GNU Lesser General Public License v2.1
数量超过可显示的高度即可复现。
推测是BaseAdapter
的Recycler
机制原因,在 MIUIPopup.kt#L100 中直接返回系统给的可复用p1
会导致渲染为之前已创建的LinearLayout
。
尝试改为直接返回一个新的LinearLayout
而不判断p1
可解决渲染问题,但是并不利于性能优化,因为不太熟悉安卓开发,所以希望作者解决。
branch: main
首先说结论:
希望能解决一下,否则关闭混淆关闭资源收缩后apk大小会暴涨。问过yife才知道原来是混淆的问题,他说应该是混淆没配置好。
以下是日志:
Generated by AppErrorsTracking
Project Url: https://github.com/KitsunePie/AppErrorsTracking
===============
[Device Brand]: Xiaomi
[Device Model]: 2106118C
[Display]: TKQ1.220829.002 test-keys
[Android Version]: 13
[Android API Level]: 33
[System Locale]: ja_JP
[Process ID]: 6705
[CPU ABI]: arm64-v8a
[Package Name]: com.lt2333.simplicitytools
[Version Name]: 1.7.5-Voyager
[Version Code]: 76
[Error Type]: JVM
[Crash Time]: 2023-04-17T18:22:50.711
[Stack Trace]:
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.lt2333.simplicitytools/com.lt2333.simplicitytools.activity.MainActivity}: java.lang.Exception: Page must be annotated with BMMainPage or BMMenuPage or BMPage
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3825)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3971)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:101)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2389)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:210)
at android.os.Looper.loop(Looper.java:299)
at android.app.ActivityThread.main(ActivityThread.java:8261)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:559)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:954)
Caused by: java.lang.Exception: Page must be annotated with BMMainPage or BMMenuPage or BMPage
at cn.fkj233.ui.activity.MIUIActivity.initAllPage(Unknown Source:55)
at cn.fkj233.ui.activity.MIUIActivity.onCreate(Unknown Source:317)
at com.lt2333.simplicitytools.activity.MainActivity.onCreate(Unknown Source:26)
at android.app.Activity.performCreate(Activity.java:8516)
at android.app.Activity.performCreate(Activity.java:8480)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1418)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3806)
... 12 more
有一个需要显示所有用户应用的fragment
,希望先显示一个加载中的动画,然后异步添加完所有用户应用的AuthorV
之后再删除动画或取消显示动画,这个需求可以实现吗?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.