-
Notifications
You must be signed in to change notification settings - Fork 3
Open
Description
Good day HamidreazaAmz, first of all, thanks for the updated plugin, great job.
Second, i am getting this error when using dataBinding:
Type mismatch: inferred type is Indicators.PagerIndicator but com.potyvideo.slider.library.Indicators.PagerIndicator! was expected
I am trying to use a custom indicator and passing the binding object:
slider.setCustomIndicator(binding.customIndicator)
I've tried to cast it to PagerIndicator, even to com.potyvideo.slider.library.Indicators.PagerIndicator
And if i try to use the findViewById:
slider.setCustomIndicator(requireActivity().findViewById(R.id.custom_indicator))
The error is this:
error: cannot find symbol
import com.potyvideo.slider.library.Indicators;
^
symbol: class Indicators
location: package com.potyvideo.slider.library
Wihtout the custom indicator it works fine. If you need mor information please ask :)
Cumpliments, Helder Ventura
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels