Reactive Android Development

Slides:



Advertisements
Similar presentations
Previously… We created a simulated temperature reader which alerts if too hot or too cold… Download the solved practice to keep in sync: Thermostat.vi.
Advertisements

Simulation executable (simv)
Reconfigurable Computing (EN2911X, Fall07) Lecture 04: Programmable Logic Technology (2/3) Prof. Sherief Reda Division of Engineering, Brown University.
1 Neural networks. Neural networks are made up of many artificial neurons. Each input into the neuron has its own weight associated with it illustrated.
Application for Autism User Interface Design Lars Hottentot.
Sequential logic circuits. 2 Outline Sequential Circuit Models –Asynchronous –Synchronous Latches Flip-Flops.
1. 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs.
Fall 2009ACS-3913 Ron McFadyen1 Observer Problem: There are many objects (subscribers) needing to know of the state changes, or events, of another object.
MVC Nick Lopez Duplication of course material for any commercial purpose without the explicit written permission of the professor is prohibited.
Week 10 Recap CSE 115 Spring For-each loop When we have a collection and want to do something to all elements of that collection we use the for-each.
1 Section 4.1 Basics of Counting. 2 Basic Counting Principles: Sum Rule Suppose you have two tasks to perform: –The first task can be done in n 1 ways;
Winter 2007ACS-3913 Ron McFadyen1 Observer Pattern Problem: There are many objects (observers / subscribers) needing to know of the state changes, or events,
Mid-term Class Review.
March Ron McFadyen1 Observer Problem: There are many objects (subscribers) needing to know of the state changes, or events, of another object.
Google Drive. Google Docs Google Drive is the new home for Google Docs Create and share your work online and access your documents from anywhere Manage.
Timed UML State Machines Ognyana Hristova Tutor: Priv.-Doz. Dr. Thomas Noll June, 2007.
Reactive Extensions Ye olde introduction and walk-through, with plenty o’ code.
Using building blocks to make bigger circuits
Unit 4 Design and Synthesis of Datapath Controllers
 8251A is a USART (Universal Synchronous Asynchronous Receiver Transmitter) for serial data communication.  Programmable peripheral designed for synchronous.
Arrays Arrays in C++ An array is a data structure which allows a collective name to be given to a group of elements which all have.
Logical view –show classes and objects Process view –models the executables Implementation view –Files, configuration and versions Deployment view –Physical.
CSCE 211: Digital Logic Design Chin-Tser Huang University of South Carolina.
Silberschatz, Galvin and Gagne  2002 Modified for CSCI 399, Royden, Operating System Concepts Operating Systems Lecture 14 Threads 2 Read Ch.
Advanced Web Technologies Lecture #3 By: Faraz Ahmed.
Signalling Techniques
Callbacks and Interacting Objects CS 5010 Program Design Paradigms "Bootcamp" Lesson © Mitchell Wand, This work is licensed under a Creative.
Sequential logic circuits
IT3002 Computer Architecture
Verilog hdl – II.
E81 CSE 532S: Advanced Multi-Paradigm Software Development Venkita Subramonian, Christopher Gill, Ying Huang, Marc Sentany Department of Computer Science.
WP3 OGSA Notification and RGMA Datagrid meeting 13/5/2003.
CS151 Introduction to Digital Design Chapter 5: Sequential Circuits 5-1 : Sequential Circuit Definition 5-2: Latches 1Created by: Ms.Amany AlSaleh.
Lecture 23: 11/26/2002CS170 Fall CS170 Computer Organization and Architecture I Ayman Abdel-Hamid Department of Computer Science Old Dominion University.
Amdahl’s Law & I/O Control Method 1. Amdahl’s Law The overall performance of a system is a result of the interaction of all of its components. System.
1. 2 Logic Circuits Sequential Circuits Combinational Circuits Consists of logic gates whose outputs are determined from the current combination of inputs.
Chapter 7 Input/Output and Storage Systems. 2 Chapter 7 Objectives Understand how I/O systems work, including I/O methods and architectures. Become familiar.
CHAPTER 1 SECTION 2. MAKING A CONJECTURE: A conjecture is an unproven statement that is based on a pattern or observation. Much of the reasoning in geometry.
Testing and delivery Web design principles. Web development is software development.
Topic 2: binary Trees COMP2003J: Data Structures and Algorithms 2
Java SWING and Model View Controller (MVC)
Chapter 16: User Interface Design
Reactive Android Development
Observer Design Pattern
MVC and Design Patterns
CSCE 211: Digital Logic Design
Reactive Android Development
Callbacks and Interacting Objects
Activity Diagrams Activity diagrams describe the workflow behavior of a system.  The diagrams describe the state of activities by showing the sequence.
Sequential logic circuits
Contact Juno Internet & Customer Service Phone Number
Patterns of Interaction 2: Publish-Subscribe
Java Messaging Service (JMS)
Advanced Topics in Concurrency and Reactive Programming: ReactiveX
CSCE 211: Digital Logic Design
Fix Garmin GPS Map Update Error
HO DOC Team Site – How to subscribe?
CSCE 211: Digital Logic Design
Reactive Android Development
Integer Square Root Lecture L8.0.
Java Messaging Service (JMS)
CSCE 211: Digital Logic Design
Reactive Android Development
აუდიო გიდის მობილური აპლიკაცია
Unit-I 80386DX Architecture
CS210- Lecture 16 July 11, 2005 Agenda Maps and Dictionaries Map ADT
National Signals Specification Education, Standards, Qualifications
Server & Tools Business
Multiprocessors and Multi-computers
Presentation transcript:

Reactive Android Development CS 4593-02T & CS 5463-01T Summer 2016 RxAndroid

Iterators Provide a consistent interface to accessing the elements of arbitrary data structures.

Iterators Provide a consistent interface to accessing the elements of arbitrary data structures. <setup> For(<type> e : E) { <update logic> } <finish>

Iterators Example: arithmetic mean Integer sum = 0; For(Integer e : A) { sum += e; } Integer average = sum / A.size();

Observer Pattern Provides a means of registering for new values

Rx Additions to Observer Pattern Provides a means of registering for new values And A means of signaling that no more values are coming A means of signaling that an error occurred

Rx Additions to Observer Pattern Provides a means of registering for new values And A means of signaling that no more values are coming A means of signaling that an error occurred Without using Optional or Either

Reactive Replacement for Iterators With these additions, a listener can perform an action similar to that of iteration on data that is arriving asynchronously.

Observables The basic element of Rx Two types: Hot Cold

Observables The basic element of Rx Two types: Hot Cold Comparable to Sodium Streams Cold

Observables The basic element of Rx Two types: Hot Cold Comparable to Sodium Streams Cold Delivers data from a fixed source whenever anyone subscribes

Observables The basic element of Rx Two types: Hot Cold Comparable to Sodium Streams Cold Delivers data from a fixed source whenever anyone subscribes Starting from the beginning

Observables The basic element of Rx Two types: Hot Cold Comparable to Sodium Streams Cold Delivers data from a fixed source whenever anyone subscribes Starting from the beginning Can be handy for experimenting

Marble Diagram

Resources http://rxmarbles.com http://reactivex.io Interactive marble diagrams (when not on iOS, apparently!) http://reactivex.io The 'Docs' menu at the top provides links