I was thinking about dynamically displaying text and I've got one question.

I have very long string .... few thousand characters or more. And I have value that's incremented over time. Now at the beginning when the value is 0 I want nothing to be shown (easy so far :)) but as the value increases i want the string to slowly appear (let's say 50 per one 'incrementation') ... it would be ideal to achieve effect of typing.

My solution was to declare empty string in onCreate method

```
string displayedText = "";

```

Then i'd call the display function in my handler that awaits for the incrementation

```
private Handler mHandler = new Handler() {
    @Override public void handleMessage(Message msg) {

        switch (msg.what) {
            case VALUE_CHANGE:
                value = (int)msg.arg1;  // get value from message
                mValueView.setText("" + mStepValue); // display value on screen
                //here call the function to display text
                break;

            default:
                super.handleMessage(msg);
        }
    }
};

```

This so far is working ... now the problematic (for me) part with displaying text. The value can be sent with different time from 1 second between incrementing to 10 seconds (it's random when the value changes)