Closed wezley98 closed 6 years ago
Probably should be same for colors as well:
.backgroundColor(ContextCompat.getColor(requireContext(), R.color.colorAccent))
to:
.backgroundColor(R.color.colorAccent)
Hi wezley98,
Yes, you are right! A new version has been published, and it has been added this option. You have to call "backgroundColorResourceId" and "imageResourceId" and pass the resource ids.
implementation 'com.elconfidencial.bubbleshowcase:bubbleshowcase:LATEST_VERSION'
Since you already have a ref to activity we probably shouldn't need to call:
.title(getString(R.string.showcase_fab_title)
or
.description(getString(R.string.showcase_fab_desc))
If we can just pass in string resource, and getstring was called in new desc and title methods?