RxJava for Android App Development

简介:
如今,RxJava是经验丰富的Android开发人员的热门产品,但是这个用于在Android应用程序中处理异步数据的强大库可能很难学习。在O'Reilly的这份报告中,移动软件工程师Matt Dupree向您介绍了RxJava基础知识,然后使用一个真实的场景来演示这个库如何快速完成那些经常变得混乱和不灵活的任务。
RxJava是JVM的响应式扩展的缩写,它使用函数式编程使Android应用程序中的异步数据处理更清晰,更灵活。正如你会发现的那样,FRP范式对于习惯于命令式编程的人来说可能很难,但回报是巨大的。RxJava允许您将任何操作表示为异步数据流,该数据流可以在任何线程上创建并由多个对象使用。
虽然您可能在开始时遇到一些麻烦,但您仍然会看到为什么RxJava在处理Android应用程序中的异步数据时提供了许多优于传统方法的优势。这是你一直在寻找的发展处方。
英文简介:
RxJava is hot property among experienced Android developers these days, but this powerful library for handling asynchronous data in Android apps can be difficult to learn. In this O’Reilly report, mobile software engineer Matt Dupree introduces you to RxJava basics and then uses a real-world scenario to demonstrate how this library makes quick work of tasks that can often become messy and inflexible.
Short for Reactive Extensions for the JVM, RxJava uses functional programming to make asynchronous data handling in Android apps cleaner and more flexible. As you’ll discover, the FRP paradigm can be hard for people used to imperative programming, but the payoff is enormous. RxJava lets you represent any operation as an asynchronous data stream that can be created on any thread and consumed by multiple objects.
Although you might have some trouble following the code at first, you’ll still see why RxJava provides many advantages over traditional ways of handling asynchronous data in Android applications. It’s the development prescription you’ve been looking for.
- 书名
- RxJava for Android App Development
- 译名
- 用于Android应用程序开发的RxJava
- 语言
- 英语
- 年份
- 2015
- 页数
- 41页
- 大小
- 1.28 MB
- 标签
- Java
- 下载
RxJava for Android App Development.pdf
- 密码
- 65536
最后更新:2025-04-12 23:54:38
←Java Application Development on Linux
→Pro Java 6 3D Game Development: Java 3D, JOGL, JInput and JOAL APIsa