First you have to add the parameter id to your TextView, for example id1(the name doesn't matter).
Then in your java class you have to do this:
TextView text = findViewById(R.id.id1);
// USE THE SPLIT METHOD
String[] strs = str.split("\n");
You have to put this lines in the event where you change the text.
text.setText(strs[0]);
text.setText(strs[1]);
text.setText(strs[2]);
strs[0]
is அவனுடைய கையும் இயல்பாக உறைவாளிடம் சென்றது.\nஇந்த சாலை தஞ்சாவூருக்குத்தான் போகிறது.
strs[1]
is ஆனால் இதில் முக்கியமானவர்கள் மட்டுமே போகலாம் மற்றவர்களுக்கு வேறு சாலை இருக்கிறது என்றான் வீரன்.
strs[2]
is அப்படியா ஆனால் நானும் ரொம்ப ரொம்ப முக்கியமான மனுஷன் தான் என்றான் வந்தியத்தேவன்.
You also can use an int attribute variable and use it in your event, something like this:
// Your class attributes
int i = 0;
//Your event method....
text.setText(strs[i]);
i++;
For the 'timer' question you can use a handler, inside your event method something like this:
Handler handler = new Handler();
handler.postDelayed(new Runnable() {
public void run() {
if(i<strs.length()){
text.setText(strs[i]);
i++;
}
}
}, 5000); // This number is the time in miliseconds
This will change your text every 5 seconds.