albert-lii / fly-android Goto Github PK
View Code? Open in Web Editor NEW总结Android的MVVM开发模式,并编写和集成常用的工具类和扩展
总结Android的MVVM开发模式,并编写和集成常用的工具类和扩展
你好,请问针对lib-http: 基于 Retrofit+OkHttp+Coroutine 的Http请求模块,如何使用网络请求?可以写一个案例吗
在你代码中,viewmodel实例化ViewModelProvider.get(vm::class.java),但是我去使用泛型获取class实例时是报错的,
Cannot use 'VM' as reified type parameter. Use a class instead
Task :app:kaptDebugKotlin FAILED
D:\Code\android\githubSam\Fly-Android\app\build\generated\source\kapt\debug\com\fly\example\DataBinderMapperImpl.java:12: 错误: 找不到符号
import com.fly.example.databinding.ActivityLivebusFirstBindingImpl;
^
符号: 类 ActivityLivebusFirstBindingImpl
位置: 程序包 com.fly.example.databindingD:\Code\android\githubSam\Fly-Android\app\build\generated\source\kapt\debug\com\fly\example\DataBinderMapperImpl.java:13: 错误: 找不到符号
import com.fly.example.databinding.ActivityLivebusSecondBindingImpl;
^
符号: 类 ActivityLivebusSecondBindingImpl
位置: 程序包 com.fly.example.databinding
FAILURE: Build failed with an exception.
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.