Piasy / Rxcombodetector
Licence: mit
Android view click combo detector with Rx.
Stars: ✭ 81
Programming Languages
java
68154 projects - #9 most used programming language
RxComboDetector
Android view click combo detector with Rx.
ScreenShot
Usage
Add to gradle dependency of your module build.gradle:
repositories {
jcenter()
}
dependencies {
compile 'com.github.piasy:rxcombodetector:1.1.0'
}
Use in code:
new RxComboDetector.Builder()
.detectOn(mBtnCombo)
.start()
.observeOn(AndroidSchedulers.mainThread())
.subscribe(new Consumer<Integer>() {
@Override
public void accept(Integer combo) throws Exception {
mTextView.setText(mTextView.getText() + "Combo x " + combo + "\n");
mScrollView.fullScroll(View.FOCUS_DOWN);
mYOLOComboView.combo(combo);
}
});
See full example for more details.
Acknowledgements
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].