package com.sf.manager.eventbus2;

import android.app.Activity;
import android.support.v7.app.AppCompatActivity;
import android.os.Bundle;

public class MainActivity extends Activity {

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

@@ -133,16 +133,288 @@
 undle;%0A%0A
+/**%0A 1. %E5%9C%A8 onCrete %E4%B8%AD Register %E8%AE%A2%E9%98%85%E4%BA%8B%E4%BB%B6%0A EventBus.getDefault().register(this);%0A 2. %E5%9C%A8 onDestroy %E4%B8%ADUnregister %E5%8F%96%E6%B6%88%E8%AE%A2%E9%98%85%0A EventBus.getDefault().unregister(this);%0A 3. %E5%A3%B0%E6%98%8E%E6%8E%A5%E5%8F%97%E6%96%B9%E6%B3%95%0A public void onEventMainThread(Event.ItemListEvent event) %7B%7D%0A 4. %E5%8F%91%E9%80%81%E5%AF%B9%E5%BA%94%E4%BA%8B%E4%BB%B6%0A EventBus.getDefault().post(event);%0A */%0A %0A
 public c

Update MainActivity.java