Skip to content

Commit

Permalink
improved readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Matteo Crippa committed Dec 24, 2017
1 parent 10dfc6a commit bcdfecf
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ then provides you a simple function to tame all your needs:
`ImageView.loadImage`

This function has the following parameters:
- url, _optional_ string with current remote image url
- placeholder, _optional_ bitmap placeholder
- placeholderResource, _optional_ resource placeholder
- caching, you can set your favorite caching system, see below
- manipulate, _optional_ callback returns the image before setting to your imageview, here you can tweak the image
- onComplete, _optional_ callback returns when the image has been applied to the imageview
- `url`, _optional_ string with current remote image url
- `placeholder`, _optional_ bitmap placeholder
- `placeholderResource`, _optional_ resource placeholder
- `caching`, you can set your favorite caching system, see below
- `manipulate`, _optional_ callback returns the image before setting to your imageview, here you can tweak the image
- `onComplete`, _optional_ callback returns when the image has been applied to the imageview


## Caching
`Parrot` provide an easy way to handle images caching:

- NetOnly, _default_ option, force always reloading from net
- NetThenDisk, download once and use local version
- `NetOnly`, _default_ option, force always reloading from net
- `NetThenDisk`, download once and use local version

## Examples

Expand Down

0 comments on commit bcdfecf

Please sign in to comment.