掘金 | 公众号 | 简书 |
---|---|---|
点我 | 九心说 | 点我 |
- 🙋🏻 Android 程序员,懂一点 Android Jetpack \ Flutter
- 🏀 运动爱好者,游戏爱好者
- 📫 [email protected]
Above are the last 3 pictures posted by @jiuxin98!
🚀 Android Jetpack系列组件实战案例,配上专栏学习更轻松~
Home Page: https://www.jianshu.com/c/59f31a4be221
掘金 | 公众号 | 简书 |
---|---|---|
点我 | 九心说 | 点我 |
Above are the last 3 pictures posted by @jiuxin98!
如题所示,出现了这个问题。
运行程序,点击“Have a account? Login”这个按钮,就报错闪退了。
viewModel.viewModelScope.launch(Dispatchers.IO)
ShopModel
使用 StateFlow
记录用户选择的 brandCould not resolve all dependencies for configuration ':classpath'.
Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'maven(http://maven.aliyun.com/nexus/content/groups/public/)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/7.0.2/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details.
注意到项目中的 ShoeRepository
几乎都是直接调用 dao,没有提供其他有用的价值,不如直接在 view model 使用 dao 更加方便维护。
有些 Repository 方法 withContext
做了线程切换操作,这个在 repository 做是合理的,但是 Room 原生也已经支持 suspend 方法了。
点进去没有任何按钮可以点击有效果的,就一个空界面
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.