mirror of
https://github.com/yexuejc/rrxjava.git
synced 2025-06-08 22:54:13 +08:00
28 lines
1.2 KiB
XML
28 lines
1.2 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
|
|
xmlns:app="http://schemas.android.com/apk/res-auto"
|
|
xmlns:tools="http://schemas.android.com/tools"
|
|
android:layout_width="match_parent"
|
|
android:layout_height="match_parent"
|
|
android:orientation="vertical"
|
|
tools:context="com.yexue.android.rrxjava.ActionActivity">
|
|
|
|
<Button
|
|
android:id="@+id/action_btn1"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="自动创建 Subscriber ,并使用 onNextAction 来定义 onNext()" />
|
|
|
|
<Button
|
|
android:id="@+id/action_btn2"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="自动创建 Subscriber ,并使用 onNextAction 和 onErrorAction 来定义 onNext() 和 onError()" />
|
|
|
|
<Button
|
|
android:id="@+id/action_btn3"
|
|
android:layout_width="wrap_content"
|
|
android:layout_height="wrap_content"
|
|
android:text="自动创建 Subscriber ,并使用 onNextAction、 onErrorAction 和 onCompletedAction 来定义 onNext()、 onError() 和 onCompleted()" />
|
|
</LinearLayout>
|