Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
  • Loading branch information
janishar committed Oct 10, 2016
2 parents b151a34 + d4c57a6 commit 60dac8d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ public class ImageTypeBig {
5. `@Resolve`: Any operation being performed on the view reference defined by `@View` should be annotated with this.
6. `@Animate(Animation.ENTER_LEFT_DESC)`: Sets the defined animations in the Animation class on this item view.
7. `@NonReusable`: Releases the view reference along with all the attached references in the view object. This view object should not be used again in the `addView()`.
8. `@Position`: This annotation binds an int variable to the position of the item view after the item view is attached to the display.

## Important
1. `PlaceHolderView` will recycle the viewItems and will try to use similar/same viewtype viewItem to populate the data of the current viewItem. So, the method annotated with `@Resolve` will be called everytime the viewItem is attached to the window. Meaning if you don't explicitly manage to populate the viewItem in method annotated with `@Resolve` then that viewItem may show history of the reused viewItem.
Expand Down Expand Up @@ -169,7 +170,7 @@ public class ImageTypeBig {
# Gradle
```groovy
dependencies {
compile 'com.mindorks:placeholderview:0.2.5'
compile 'com.mindorks:placeholderview:0.2.7'
}
```
# Dependency: It depends on the RecyclerView
Expand Down

0 comments on commit 60dac8d

Please sign in to comment.