diff --git a/app/src/main/java/org/ntlab/developrx/JavaMainActivity.java b/app/src/main/java/org/ntlab/developrx/JavaMainActivity.java index fd67971..efd03d6 100644 --- a/app/src/main/java/org/ntlab/developrx/JavaMainActivity.java +++ b/app/src/main/java/org/ntlab/developrx/JavaMainActivity.java @@ -7,10 +7,16 @@ * Created by matsumoto_k on 2017/11/11. */ public class JavaMainActivity extends AppCompatActivity { + JavaRxProcess rxProcess = new JavaRxProcess(); @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.activity_main_java); + + findViewById(R.id.flowable_btn).setOnClickListener(view -> { + rxProcess.flowableReactiveStreams(); + } + ); } }