davideas / FlexibleAdapter

Fast and versatile Adapter for RecyclerView which regroups several features into one library to considerably improve the user experience :-)
Apache License 2.0
3.56k stars 552 forks source link

JavaDoc contradictions #728

Open TreyWurm opened 5 years ago

TreyWurm commented 5 years ago

JavaDoc for addItem()/addItems() states that when passing a negative position it will be appended to the end. On eu.davidea:flexible-adapter:5.1.0 you got following annotation @IntRange(from = 0) which prevents passing negative positions

davideas commented 5 years ago

@TreyWurm, yes you are right, however that is just a lint suggestion, you can disable, you can pass any value. I will fix it for the next version. Thanks.