I probably encountered an issue with automcompliti...
# android
d
I probably encountered an issue with automcomplition, I am using java library and I am overriding abstract method with all parameters annotated with
@NotNull
but for some reason last parameter is set as nullable in Kotlin. Java method signature is
Copy code
protected abstract void onBindViewHolder(@NonNull T items, int position,
      @NonNull RecyclerView.ViewHolder holder, @NonNull List<Object> payloads);
and code in Kotlin looks like this
Copy code
override fun onBindViewHolder(items: List<VMItem>, position: Int, holder: RecyclerView.ViewHolder, payloads: MutableList<Any>?) {
        
    }