How to load the value from List<String> to text vew after clicking on a button in android
<p>I have a <code>ArrayList</code> type <code>List&lt;string&gt;</code> load from data base.
and my app is like a quiz with two button one is next and 2nd is previous button.
when I click on next button the question in list load in text view randomly.
but I have no idea how to work on previous button. when click on this button load the previous question.</p>

<p>this is my array list.</p>

<p><code>List&lt;String&gt; questions = Question.getQuestion();</code></p>

<p>and the textview which is load from list when click on next button.</p>

<p><code>option1.setText(questions.get(0));</code></p>

<p>but i have no idea how to load the previous question when click on previous button.</p>

<p>please help me.
thanks. </p>
