TangoAgency / material-intro-screen

Inspired by Heinrich Reimer Material Intro and developed with love from scratch
MIT License
2.71k stars 410 forks source link

How to enter a string from a strings.xml file? #175

Closed ghost closed 5 years ago

ghost commented 5 years ago

When I try .title(R.string.anonymity) it throws an error

title(java.lang.String) in SlideFragmentBuilder cannot be applied

t0mjoad commented 5 years ago

try:

                .title(getResources().getString(R.string.title))
                .description(getResources().getString(R.string.description))