Skip to content

Commit c161c00

Browse files
author
AnkitDroidGit
committedMar 31, 2018
added readme for modules
1 parent ceb657d commit c161c00

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

48 files changed

+369
-173
lines changed
 

‎README.md

+26-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,8 @@ If you are using RxAndroid also, then add the following
3030

3131
....... and so on
3232

33-
# Operators :
33+
# RxOperators :
34+
3435
* `map()` -> Transform the items emitted by an Observable by applying a function to each item
3536
* `zip()` -> Combine the emissions of multiple Observables together via a specified function and emit single items for each combination based on the results of this function
3637
* `take()` -> Emit only the first n items emitted by an Observable
@@ -97,6 +98,30 @@ Adding more operator examples
9798

9899
* Coming More
99100

101+
102+
103+
104+
105+
# RxBinding
106+
107+
Rx is powerful because we can compose transformations. What that means is that we can have reusable, safe and more functional code that simply plugs into your code.
108+
109+
As an example let’s say we’re making a login screen with an email and a password…
110+
111+
Consider the following rules that we want for our email addresses
112+
113+
- Length should be greater than 6
114+
- Should have a correct email pattern
115+
- Let the user know if any of the above fails
116+
- On each key stroke, verify
117+
118+
119+
## Highlights :
120+
* [RxLoginScreenActivity](https://github.com/AnkitDroidGit/RxKotlinOperators-Android/blob/master/RxBinding/src/main/java/com/freeankit/rxbinding/RxLoginScreenActivity.kt) - Login Screen using RxBinding
121+
122+
123+
124+
100125
### Contact - Let's connect to learn together
101126
- [Twitter](https://twitter.com/KumarAnkitRKE)
102127
- [Github](https://github.com/AnkitDroidGit)

‎RxBinding/README.md

+45
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
# RxBinding
2+
3+
Rx is powerful because we can compose transformations. What that means is that we can have reusable, safe and more functional code that simply plugs into your code.
4+
5+
As an example let’s say we’re making a login screen with an email and a password…
6+
7+
Consider the following rules that we want for our email addresses
8+
9+
- Length should be greater than 6
10+
- Should have a correct email pattern
11+
- Let the user know if any of the above fails
12+
- On each key stroke, verify
13+
14+
15+
## Highlights :
16+
* [RxLoginScreenActivity](https://github.com/AnkitDroidGit/RxKotlinOperators-Android/blob/master/RxBinding/src/main/java/com/freeankit/rxbinding/RxLoginScreenActivity.kt) - Login Screen using RxBinding
17+
18+
19+
20+
21+
### Contact - Let's connect to learn together
22+
- [Twitter](https://twitter.com/KumarAnkitRKE)
23+
- [Github](https://github.com/AnkitDroidGit)
24+
- [LinkedIn](https://www.linkedin.com/in/kumarankitkumar/)
25+
- [Facebook](https://www.facebook.com/freeankit)
26+
- [Slack](https://ankitdroid.slack.com)
27+
- [Stackoverflow](https://stackoverflow.com/users/3282461/android)
28+
- [Android App](https://play.google.com/store/apps/details?id=com.freeankit.ankitprofile)
29+
30+
31+
### License
32+
33+
Copyright 2017 Ankit Kumar
34+
35+
Licensed under the Apache License, Version 2.0 (the "License");
36+
you may not use this file except in compliance with the License.
37+
You may obtain a copy of the License at
38+
39+
http://www.apache.org/licenses/LICENSE-2.0
40+
41+
Unless required by applicable law or agreed to in writing, software
42+
distributed under the License is distributed on an "AS IS" BASIS,
43+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
44+
See the License for the specific language governing permissions and
45+
limitations under the License.

0 commit comments

Comments
 (0)