Instead of the verbose setOnClickListener:
RxView.clicks(submitButton).subscribe(o -> log("submit button clicked!"));Observable
.just(1, 2, 3, 4, 5, 6, 7, 8, 9, 10)| # format for commit message headline | |
| # <type>(<scope>): <subject> | |
| # <BLANK LINE> | |
| # <body> | |
| # <BLANK LINE> | |
| # <footer> | |
| # feature|fix|docs|style|refactor|perf|test|chore(app_name): subject | |
| # Body |
| package com.aracem.utils.animations.pagetransformation; | |
| import org.jetbrains.annotations.NotNull; | |
| import android.support.v4.view.ViewPager; | |
| import android.view.View; | |
| import java.util.ArrayList; | |
| import java.util.List; |