forked from kaushikgopal/RxJava-Android-Samples
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstrings.xml
More file actions
34 lines (31 loc) · 4.03 KB
/
strings.xml
File metadata and controls
34 lines (31 loc) · 4.03 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="app_name">Android-RxJava</string>
<string name="hello_world">Hello world!</string>
<string name="action_settings">Settings</string>
<string name="github_oauth_token"><!-- InsertYouroAuthTokenHere --></string>
<string name="btn_demo_schedulers">bg work (schedulers & concurrency)</string>
<string name="btn_demo_buffer">accumulate calls (buffer)</string>
<string name="btn_demo_debounce">search text listener(debounce)</string>
<string name="btn_demo_timeout">delayed jobs (timeout)</string>
<string name="btn_demo_retrofit">Retrofit + RxJava</string>
<string name="btn_demo_double_binding_textview">Double binding (PublishSubject)</string>
<string name="btn_demo_polling">Polling with RxJava</string>
<string name="btn_demo_rxbus">Event Bus with RxJava</string>
<string name="btn_demo_form_validation_combinel">Form Validation with CombineLatest</string>
<string name="btn_demo_pseudocache">Pseudo cache using concat</string>
<string name="btn_demo_timing">Variations of timing/intervals/delays</string>
<string name="btn_demo_exponential_backoff">Exponential backoff</string>
<string name="msg_demo_concurrency_schedulers">This is a demo of how long running operations can be offloaded to a background thread. After the operation is done, we resume back on the main thread. All using RxJava! \n\n To really see this shine. Hit the button multiple times and see how the button click which is a ui operation is never blocked because the long operation only runs in the background</string>
<string name="msg_demo_buffer">This is a demo of how events can be accumulated using the "buffer" operation. Tap the button below repetitively and you will notice in the logs that button taps are collected over a span of 2s and printed below.</string>
<string name="msg_demo_debounce">As you type in the input box, it will not shoot out log messages at every single input character change, but rather only pick the last one.</string>
<string name="msg_demo_timeout">This is a demo of terminating events, that take too long to process. Events in this demo should timeout in 3 seconds. Button 1 is an event that takes 2s to process, and Button 2 is a n event that takes 5s to process. Hit Button 2, and see in the logs that it\'s been cancelled, while this is not the case for Button 1.</string>
<string name="msg_demo_retrofit">Retrofit from Square is a super easy networking helper library. It works really well with RxJava and these are examples taken from Jake Wharton\'s talk at Netflix (see README). Really the only interesting bits here are in the code and logs.</string>
<string name="msg_demo_retrofit_async_task_death">This shows how you can replace an AsyncTask with RxJava. The interesting parts are in the code.</string>
<string name="msg_demo_doublebinding">Watch how the result gloriously auto-updates <ba></ba>sed on your changing inputs. Using a technique like this, you could achieve the two-way binding in Angular Js, or more efficiently use a pattern like the Presentation View Model.</string>
<string name="msg_demo_polling">This is demo of polling or making a call repeatedly with RxJava. \n\nSimple polling: Notice in the logs how a network call (simulated) is repeatedly made in the background.</string>
<string name="msg_demo_exponential_backoff">These two examples demonstrate retrying and executing with a delay using an exponential backoff strategy.</string>
<string name="msg_demo_rxbus_1">Tap on the below button and RxBus will listen to the events</string>
<string name="msg_demo_form_comb_latest">Monitor the state of multiple observables with the combineLatest operator. Only after all the 3 inputs contain valid entries will the submit button light up</string>
<string name="msg_demo_timing">BTN 1: run single task once (after 2s complete)\nBTN 2: run task every 1s (start delay of 1s) toggle \nBTN 3: run task every 1s (start immediately) toggle \nBTN 4: run task 5 times every 3s (then complete)</string>
</resources>