fmtjava / jetpack_github Goto Github PK
View Code? Open in Web Editor NEW基于Kotlin + Jetpack全家桶 + Coroutines(协程) + Flutter等架构实现的一款精简版Github客户端项目,望与广大小伙伴一起成长,欢迎start or fork!
License: MIT License
基于Kotlin + Jetpack全家桶 + Coroutines(协程) + Flutter等架构实现的一款精简版Github客户端项目,望与广大小伙伴一起成长,欢迎start or fork!
License: MIT License
请问这个项目有用屏幕适配吗,看代码好像是没有
您好,请问有交流群之类的吗,我觉得写得很好,但是可能有些问题觉得有联系方式交流好一些
请问如果要对返回值封装处理,用emit该怎么处理呢
class LoginActivity : BaseDataBindVMActivity<ActivityLoginBinding>() {
private val mViewModel: UserViewModel by viewModel()
class MainActivity : BaseDataBindVMActivity<ActivityMainBinding>() {
private val mViewModel: UserViewModel by viewModel()
ps:我打印了两个页面的mViewModel,发现地址不一样,请问如何创建出多个页面共享的mViewModel
APP的启动优化部分,请问有没有相关的文章介绍?例如思路是啥,怎么样达到优化,为什么这样做之类的。
{"message":"Bad credentials. The API can't be accessed using username/password authentication. Please create a personal access token to access this endpoint: }
BaseViewModel中lanuch和emit方法有什么区别
具体信息如下:Failed to find configured root that contains /storage/0123-4567/Android/data/com.fmt.github/files/apk_download/app-release.apk
A problem occurred evaluating settings 'Jetpack_GitHub-master'.
E:\download\flutter_module.android\include_flutter.groovy (E:\download\flutter_module.android\include_flutter.groovy)
fun searchRepos(
query: String,
sort: String,
order: String,
page: Int
): LiveData<List<ReposItemModel>> = emit {
mReposRepository.searchRepos(query, sort, order, page).items
}
比如上面的案例,每次调用searchRepos就返回一个新的liveData,并且绑定到lifecycler,如果调用了很多次的时候是不是可能有性能问题。小白初次使用livedata和协程,请教下大佬
请问一下作者已经在正式项目中开始使用了吗,效果如何
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.