package com.example.mvc;

import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;

import io.tjeubaoit.android.mvc.MvcActivity;
import io.tjeubaoit.android.mvc.annotation.OnAction;
import io.tjeubaoit.android.mvc.async.AsyncResult;
import io.tjeubaoit.android.mvc.async.Handler;
import io.tjeubaoit.android.mvc.message.Message;

public class MainActivity extends MvcActivity {

    static final String TAG = MainActivity.class.getSimpleName();

    private TextView textTimer;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        final TextView textResult = (TextView) findViewById(R.id.text_result);
        textTimer = (TextView) findViewById(R.id.text_timer);

        final EditText edit1 = (EditText) findViewById(R.id.edit1);
        final EditText edit2 = (EditText) findViewById(R.id.edit2);

        findViewById(R.id.start_calculate).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                String[] input = new String[] {edit1.getText().toString(), edit2.getText().toString()};
                post(MainController.ACTION_PLUS, input, new Handler<AsyncResult<String>>() {
                    @Override
                    public void handle(AsyncResult<String> event) {
                        if (event.failed()) {
                            Log.e(TAG, "Error", event.cause());
                            textTimer.setText(event.cause().getMessage());
                        } else {
                            textResult.setText(event.result());
                        }
                    }
                });
            }
        });
    }

    @OnAction(MainController.ACTION_PROGRESS)
    public void onProgress(Message msg) {
        textTimer.setText("Timer : " + msg.body());
        if ((int) msg.body() == 100) {
            findViewById(R.id.start_calculate).setEnabled(true);
        }
    }
}

package com.example.mvc;

import android.os.Bundle;
import android.util.Log;
import android.view.View;
import android.widget.EditText;
import android.widget.TextView;

import io.tjeubaoit.android.mvc.MvcActivity;
import io.tjeubaoit.android.mvc.annotation.OnAction;
import io.tjeubaoit.android.mvc.async.AsyncResult;
import io.tjeubaoit.android.mvc.async.Handler;
import io.tjeubaoit.android.mvc.message.Message;

public class MainActivity extends MvcActivity {

    static final String TAG = MainActivity.class.getSimpleName();

    private TextView textTimer;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_main);

        final TextView textResult = (TextView) findViewById(R.id.text_result);
        textTimer = (TextView) findViewById(R.id.text_timer);

        final EditText edit1 = (EditText) findViewById(R.id.edit1);
        final EditText edit2 = (EditText) findViewById(R.id.edit2);

        findViewById(R.id.start_calculate).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                String[] input = new String[] {edit1.getText().toString(), edit2.getText().toString()};
                post(MainController.ACTION_PLUS, input, new Handler<AsyncResult<String>>() {
                    @Override
                    public void handle(AsyncResult<String> event) {
                        if (event.failed()) {
                            // Log.e(TAG, "Error", event.cause());
                            textTimer.setText(event.cause().getMessage());
                        } else {
                            textResult.setText(event.result());
                        }
                    }
                });
            }
        });
    }

    @OnAction(MainController.ACTION_PROGRESS)
    public void onProgress(Message msg) {
        textTimer.setText("Timer : " + msg.body());
        if ((int) msg.body() == 100) {
            findViewById(R.id.start_calculate).setEnabled(true);
        }
    }
}

Update MainActivity.java