KunMinX 专注 “业务架构”,致力消除敏捷开发过程中 “不可预期问题”。
kunminx / mvi-dispatcher Goto Github PK
View Code? Open in Web Editor NEW简明易用框架,解决 MVI 实战痛点
License: Apache License 2.0
简明易用框架,解决 MVI 实战痛点
License: Apache License 2.0
KunMinX 专注 “业务架构”,致力消除敏捷开发过程中 “不可预期问题”。
##场景
新建一个fragment继承自BaseFragment,覆写onBackPressed,返回false,程序会死循环
##原因:
如果fragment中的onBackPressed返回false,那么事件会重新分发给该fragment,就死循环crash了
##目标:
当onBackPressed return false时,再次分发时过滤该OnBackPressedCallback
1、项目下载后,编译完成,无法找到 domain 包下的 _Messages 引用,在代码中是 ktx的引用
项目中没有使用到databinding,请问页面状态state如何优雅的替换成 livedate。
旧项目比较庞大,替换datebinding 比较耗时,因此求教。
这个 PureNote不如PureMusic丝滑啊
继承自MviDispatcher的类IDE会提示错误
Cannot access 'androidx.lifecycle.FullLifecycleObserver' which is a supertype of 'com.xx.zz.event.messenger.BlockMessenger'. Check your module classpath for missing or conflicting dependencies
看起来好像是Lifecycle版本冲突,但是不影响编译和运行。所有使用的地方都有红线提示,看起来有点难受。
现在项目用的Lifecycle版本是2.7.0,能否升级一下依赖库版本?
任何缺乏实证依据和因果逻辑的泛泛而谈,都可能对其他使用者造成困扰。
在发表个人见解前,请先确保已认真阅读过源码。这是对自己、对作者、对其他读者最起码尊重。
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.