Skip to content
This repository has been archived by the owner on Jun 27, 2023. It is now read-only.

Commit

Permalink
Updating README to add stuff from #5
Browse files Browse the repository at this point in the history
(cherry picked from commit aaea1d5)
  • Loading branch information
milosmns committed Jul 30, 2018
1 parent 4789175 commit 4f7d3ea
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,12 @@ Automatic View finding and injections for _Parsable_ components:
private Button mLongClickableButton;
}
```
[Google Guava-like verification](https://github.com/google/guava/wiki/PreconditionsExplained) with `Preconditions` class:
```java
void saveResource(@NonNull final String resource) {
mResource = Preconditions.checkNotNull(resource); // crashes if resource is null
}
```

Setup
-----
Expand Down

0 comments on commit 4f7d3ea

Please sign in to comment.