I trying to set the title for my viewpager, I can\'t seem to get it to work. I tried Resources.getSystem().getString(R.string.title1); and also tried to pass a context. Coul
Just use the available using: getContext().getString(resId) like:
getContext().getString(resId)
getContext().getString(R.string.title1)
It worked for me.