my app has two languages. i translated all the strings of the string file but I have four small texts on the onboarding/walkthrough activity java as a string array. the question is how can I store them in the string file and call them from java activity?
public SliderAdapter(Context context){
this.context = context;
}
public int[] slide_images = {
R.drawable.a1,
R.drawable.a2,
R.drawable.a3,
R.drawable.a4
};
public String[] slide_headers = {
"txt1",
"txt2",
"txt3",
"txt4"
};
public String[] slide_desc = {
"body1",
"body2,
"body3",
"body4"
};