janishar / PlaceHolderView

This library provides advance views for lists and stacks. Some of the views are build on top of RecyclerView and others are written in their own. Annotations are compiled by annotation processor to generate bind classes. DOCS -->
http://janishar.com/PlaceHolderView
Apache License 2.0
2.11k stars 369 forks source link

use with private is not supported #177

Closed aayush0208 closed 2 years ago

aayush0208 commented 2 years ago

class PHProductSelectQuantity(var context: Context) { @Position var index= 0

}

when creating position variable getting below error: com.mindorks.placeholderview.compiler.core.IllegalUseException: This library only support annotations on public, protected or local, use with private is not supported public final class PHProductSelectQuantity {

aayush0208 commented 2 years ago

@JvmField @Position var position: Int = 0;

found this in docs, now closing the issue