endian11
2019-09-11 ae292cb4f4a67e16465b732e26b408955b4407f5
app/src/main/java/safeluck/drive/evaluation/MainActivity.java
@@ -9,6 +9,7 @@
import android.os.Bundle;
import android.support.annotation.NonNull;
import android.support.annotation.Nullable;
import android.util.Log;
import android.widget.Toast;
@@ -63,14 +64,14 @@
        MyLog.i(TAG,"onCreate");
        MainViewModel mainViewModel = ViewModelProviders.of(this).get(MainViewModel.class);
        mainViewModel.getJson().observe(this, new Observer<String>() {
            @Override
            public void onChanged(@Nullable String json) {
                Toast.makeText(MainActivity.this, json, Toast.LENGTH_SHORT).show();
                MyLog.i(TAG,"json=========="+json);
                MyLog.i(TAG,"json=========="+Thread.currentThread().getName());
                MyLog.i(TAG,"json=========="+json+" ThreadName:"+Thread.currentThread().getName());
            }
        });
@@ -81,6 +82,11 @@
        }
    }
    @Override
    protected void onDestroy() {
        super.onDestroy();
        Log.i(TAG, "onDestroy: ");
    }
    @Override
    protected void onResume() {