daimajia / daimajia/AndroidImageSlider
OnSliderClickListener only returns Description
- Dominant language
- Java
- Stars
- 5.6k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
Hello,
I'm trying to set a click listener to the slider image currently viewed like this:
`textSliderView.setOnSliderClickListener(new BaseSliderView.OnSliderClickListener() {
@Override
public void onSliderClick(BaseSliderView slider) {
// Intent target = new Intent(Intent.ACTION_VIEW);
// target.setDataAndType(Uri.parse(slider.getUrl()), "image/*");
// target.setFlags(Intent.FLAG_ACTIVITY_NO_HISTORY);
// startActivity(target);
}
});`
But my app crashes because the value of the slider.getUrl() is empty. But when I try to get slider.getDescription() it returns the actual value of the description.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.