Skip to content

Commit

Permalink
* 优化代码
Browse files Browse the repository at this point in the history
  • Loading branch information
eajon authored and wengyijiong committed Jan 24, 2019
1 parent d5d1432 commit aa30dfd
Showing 1 changed file with 2 additions and 12 deletions.
14 changes: 2 additions & 12 deletions RxHttp/src/main/java/com/github/eajon/base/RxBusActivity.java
Original file line number Diff line number Diff line change
Expand Up @@ -5,25 +5,15 @@
import com.threshold.rxbus2.RxBus;
import com.trello.rxlifecycle2.components.support.RxAppCompatActivity;

import io.reactivex.android.schedulers.AndroidSchedulers;


public abstract class RxBusActivity extends RxAppCompatActivity {



public abstract class RxBusActivity extends RxAppCompatActivity {

@Override
protected void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
RxBus.getDefault().register(this);
}

@Override
protected void onStart() {
super.onStart();

}

@Override
protected void onDestroy() {
super.onDestroy();
Expand Down

0 comments on commit aa30dfd

Please sign in to comment.