Giter Site home page Giter Site logo

Comments (3)

ikakaxi avatar ikakaxi commented on May 1, 2024 1

OK,问题关闭吧,我也在学习中,正在学习您的源码,打算用MVVP+JetPack组件+kotlin协程把目前的项目重构一遍

from mvvm-architecture.

qingmei2 avatar qingmei2 commented on May 1, 2024

@ikakaxi

这是一个非常棒的建议,协程的整体替换也在我下一步的计划中。

这需要一段时间的发展,因为我认为目前协程还没有发展足够的生态环境——我更期待更多类似 retrofit2-kotlin-coroutines-adapter这样的拓展库,能够让我下决定把所有RxJava的代码给替换掉。

目前项目中,Room,网络请求以及Databinding依赖的LiveData,都是通过RxJava进行编织串在一起的,这些代码糅合很深,因此Kotlin1.3发布后,我只先尝试性的使用了类似 Result 这样的API在异常处理上代替Arrow的Either。

因为我还没有开始着手学习协程,从新手角度来看,可能还需要一段时间学习深入理解协程,因此我更期待关于协程的相关分享和分析。

非常期待您的实践。 👍

from mvvm-architecture.

qingmei2 avatar qingmei2 commented on May 1, 2024

ok

from mvvm-architecture.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.