对张磊的rxjava教程改成rxjava2的实现方式。(张磊的rxjava教程:https://www.jianshu.com/p/ec9849f2e510 ,张磊的rxjava项目地址:https://github.com/BaronZ88/HelloRxJava)