Giter Site home page Giter Site logo

Comments (8)

meddle0x53 avatar meddle0x53 commented on July 22, 2024

There is a part of chapter 2 about lambdas - it introduces the new java8 syntax and creating lambdas/referencing methods. In the draft file, this content is in pages 2-13.

from learning-rxjava.

akarnokd avatar akarnokd commented on July 22, 2024

What I received starts like this:

2 
Why Observables? 

In this chapter, we are going to have an overview on the  Observer pattern, 
how it’s implemented and extended by RxJava, what an Observable  is, how Observables 
relate to Iterables.

from learning-rxjava.

meddle0x53 avatar meddle0x53 commented on July 22, 2024

That sounds more like one of the sections of chapter 01, and it is not chapter 02, the outline I sent and they approved doesn't include anything like that in chapter 02...

from learning-rxjava.

akarnokd avatar akarnokd commented on July 22, 2024

It talks about Subjects, hot and cold Observables, and has examples such as this:

List<Integer> items = new ArrayList<Integer>();
items.add(1);
items.add(10);
items.add(100);
items.add(200);

Observable<Integer> observableString = Observable.from(items);

Subscription subscriptionPrint = observableString.subscribe(new Observer<Integer>() {
    @Override
    public void onCompleted() {
        System.out.println("Observable completed");
    }

    @Override
    public void onError(Throwable e) {
        System.out.println("Oh no! Something wrong happened!");
    }

    @Override
    public void onNext(Integer item) {
        System.out.println("Item is " + item);
    }
});

This I haven't found among the examples of this repository, so I'm confused. Feels like it is partially what's chapter 3 might be:

Chapter 3: Creating And Connecting Observables, Observers And Subjects – 15-20 pages
Description
We will get to know the basic building blocks of the RxJava library – we'll create RxJava Observables and Subscribers and interact with them; we'll introduce many of the Observable factory methods like 'from', 'just', 'empty'; we'll talk about 'hot' and 'cold' observables, 'blocking' and 'non-blocking' observables, 'connectable' observables and we'll subscribe to them. We will subscribe to these observables and unsubscribe from them, using a Subscription instance. At the end of the chapter, we'll play with and chain various Subject instances.

Are there other authors to the book or is the publisher restructuring the manuscript on their own?

from learning-rxjava.

meddle0x53 avatar meddle0x53 commented on July 22, 2024

I'm the sole author - and this is chapter 03.

I guess they got it wrong, or they are editing it in some very strange way...

from learning-rxjava.

akarnokd avatar akarnokd commented on July 22, 2024

I assume you sent your chapter 2 about lambdas to the publisher before chapter 3, right?

from learning-rxjava.

meddle0x53 avatar meddle0x53 commented on July 22, 2024

Yeah... in the beginning of the month... Maybe we should talk about these things in private...
My skype is meddle053h, and google - [email protected].

from learning-rxjava.

akarnokd avatar akarnokd commented on July 22, 2024

Okay. Sent you a chat invitation via Google.

from learning-rxjava.

Related Issues (6)

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.