GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — fix: styling + text on help · linglu/RxJava-Android-Samples@337f53c

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • app/src/main/res
    • layout
      • fragment_polling.xml
    • values
      • strings.xml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎app/src/main/res/layout/fragment_polling.xml‎

Copy file name to clipboard
+12-13Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -1,48 +1,47 @@
11
<?xml version="1.0" encoding="utf-8"?>
22

33
<LinearLayout
4-
android:orientation="vertical"
5-
android:layout_height="match_parent"
6-
android:layout_width="match_parent"
74
xmlns:android="http://schemas.android.com/apk/res/android"
5+
android:layout_width="match_parent"
6+
android:layout_height="match_parent"
7+
android:orientation="vertical"
88
>
99

1010
<TextView
11-
android:layout_height="wrap_content"
1211
android:layout_width="match_parent"
13-
android:padding="10dp"
12+
android:layout_height="wrap_content"
1413
android:gravity="center"
14+
android:padding="10dp"
1515
android:text="@string/msg_demo_polling"
1616
/>
1717

1818

1919
<LinearLayout
20-
android:layout_height="wrap_content"
2120
android:layout_width="match_parent"
21+
android:layout_height="wrap_content"
22+
android:orientation="vertical"
2223
>
2324

2425
<Button
2526
android:id="@+id/btn_start_simple_polling"
27+
android:layout_width="match_parent"
2628
android:layout_height="wrap_content"
27-
android:layout_width="wrap_content"
28-
android:layout_marginLeft="20dp"
29-
android:textSize="16sp"
3029
android:text="Start simple polling"
30+
android:textSize="16sp"
3131
/>
3232

3333
<Button
3434
android:id="@+id/btn_start_increasingly_delayed_polling"
35+
android:layout_width="match_parent"
3536
android:layout_height="wrap_content"
36-
android:layout_width="wrap_content"
37-
android:layout_marginLeft="20dp"
38-
android:textSize="16sp"
3937
android:text="Start increasingly delayed polling"
38+
android:textSize="16sp"
4039
/>
4140
</LinearLayout>
4241

4342
<ListView
4443
android:id="@+id/list_threading_log"
45-
android:layout_height="match_parent"
4644
android:layout_width="match_parent"
45+
android:layout_height="match_parent"
4746
/>
4847
</LinearLayout>
Collapse file

‎app/src/main/res/values/strings.xml‎

Copy file name to clipboardExpand all lines: app/src/main/res/values/strings.xml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
<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>
2929
<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>
3030
<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>
31-
<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>
31+
<string name="msg_demo_polling">Demo polling or making a call repeatedly with RxJava.\n\nSimple polling: Notice in the logs how a (simulated) network call is repeatedly made in the background.</string>
3232
<string name="msg_demo_exponential_backoff">These two examples demonstrate retrying and executing with a delay using an exponential backoff strategy.</string>
3333
<string name="msg_demo_rxbus_1">Tap on the below button and RxBus will listen to the events</string>
3434
<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>

0 commit comments

Comments
0 (0)
You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.