GitHub - MindorksOpenSource/RxJavaPriorityScheduler: RxPS - RxJavaPrioritySchedu...
source link: https://github.com/MindorksOpenSource/RxJavaPriorityScheduler
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
RxPS - RxJavaPriorityScheduler - A RxJava Priority Scheduler library for Android and Java applications
Overview of RxPS - RxJavaPriorityScheduler library
- RxPS is used to set the priority for the given task.
- Simple way to set the priority for the given task.
Using RxPS - RxJavaPriorityScheduler Library in your Android application
Add this in your build.gradle
implementation 'com.mindorks.scheduler:rxps:0.1.0'
Setting low level priority for a task - use RxPS.low()
getObservable() .subscribeOn(RxPS.low()) .subscribe(getObserver()); // or getObservable() .subscribeOn(RxPS.get(Priority.LOW)) .subscribe(getObserver());
Setting medium level priority for a task - use RxPS.medium()
getObservable() .subscribeOn(RxPS.medium()) .subscribe(getObserver()); // or getObservable() .subscribeOn(RxPS.get(Priority.MEDIUM)) .subscribe(getObserver());
Setting high level priority for a task - use RxPS.high()
getObservable() .subscribeOn(RxPS.high()) .subscribe(getObserver()); // or getObservable() .subscribeOn(RxPS.get(Priority.HIGH)) .subscribe(getObserver());
Setting immediate level priority for a task - use RxPS.immediate()
getObservable() .subscribeOn(RxPS.immediate()) .subscribe(getObserver()); // or getObservable() .subscribeOn(RxPS.get(Priority.IMMEDIATE)) .subscribe(getObserver());
TODO
- Documentation
- Test Cases
- Customizations
If this library helps you in anyway, show your love ❤️ by putting a ⭐️ on this project ✌️
Check out Mindorks awesome open source projects here
License
Copyright (C) 2018 MINDORKS NEXTGEN PRIVATE LIMITED
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
Contributing to RxPS - RxJavaPriorityScheduler
All pull requests are welcome, make sure to follow the contribution guidelines when you submit pull request.
Recommend
-
189
Calcflow A Virtual Reality Tool for Mathematical Modeling! The repository contains the open-sourced code to Calcflow, a powerful mathematical visualization tool designed to give students, educators, and engineers a better grasp on...
-
209
Release 5.0 · javaee/glassfish · GitHub ...
-
457
README.md ViaBTC Exchange Server ViaBTC Exchange Server is a trading backend with high-speed performance, designed for cryptocurrency exchanges. It can...
-
197
Pytorch Exercises Pytorch is one of the most popular deep learning libraries as of 2017. One possible way of familiarizing yourself with it, I think, is to practice with simple quizzes. That's where this project comes in. The outline will...
-
108
Bytom Official golang implementation of the Bytom protocol. Automated builds are available for stable releases and the unstable master branch. Binary archives are published at
-
155
-
60
Android MVVM Architecture: Sample App This repository contains a detailed sample app that implements MVVM architecture using Dagger2, Room, RxJava, FastAndroidNetworking, PlaceHolderView and AndroidDebugDatabase
-
105
android-interview-questions - Your Cheat Sheet For Android Interview - Android Interview Questions
-
376
惊鸿一瞥 这是一个可以帮助你在命令行中完成Github的各种操作的cli工具。 创建它的初衷是因为我是一个命令行狂热爱好者,与此同时我也是一个Github的fans,每当我在命令行环境中进行开发工作时,如果此时我想看看Github上又诞生了什么新的有趣的开源项
-
61
README.md Android Developer Roadmap - MindOrks
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK