Skip to content

Commit 5ad3a19

Browse files
author
Kaushik Gopal
committed
wip: polling demo requires more cleanup - also i think the timing demo is a better example
1 parent 0707451 commit 5ad3a19

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

app/src/main/java/com/morihacky/android/rxjava/MainFragment.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,14 +71,14 @@ public void demoDoubleBindingWithPublishSubject() {
7171
.commit();
7272
}
7373

74-
@OnClick(R.id.btn_demo_polling)
74+
/*@OnClick(R.id.btn_demo_polling)
7575
public void demoPolling() {
7676
getActivity().getSupportFragmentManager()
7777
.beginTransaction()
7878
.addToBackStack(this.toString())
7979
.replace(R.id.activity_main, new PollingFragment(), this.toString())
8080
.commit();
81-
}
81+
}*/
8282

8383
@OnClick(R.id.btn_demo_rxbus)
8484
public void demoRxBus() {

app/src/main/res/layout/fragment_main.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,12 +52,12 @@
5252
android:text="@string/btn_demo_double_binding_textview"
5353
/>
5454

55-
<Button
55+
<!--<Button
5656
android:id="@+id/btn_demo_polling"
5757
android:layout_height="wrap_content"
5858
android:layout_width="match_parent"
5959
android:text="@string/btn_demo_polling"
60-
/>
60+
/>-->
6161

6262
<Button
6363
android:id="@+id/btn_demo_rxbus"

0 commit comments

Comments
 (0)