| | |
| | | import com.dollearn.student.utils.Const |
| | | import com.dollearn.student.utils.event.EmptyEvent |
| | | import kotlinx.android.synthetic.main.activity_main.* |
| | | import kotlinx.android.synthetic.main.fragment_shop.* |
| | | import org.greenrobot.eventbus.EventBus |
| | | import org.greenrobot.eventbus.Subscribe |
| | | |
| | |
| | | getData() |
| | | getVoiceUrl() |
| | | getScoreConfig() |
| | | getIsText2() |
| | | } |
| | | |
| | | private fun getIsText2() { |
| | | HttpManager.getIsOpen().request(this){_,data-> |
| | | SPUtils.instance().put(Const.IS_SHOW_TEXT,data?:true).apply() |
| | | } |
| | | } |
| | | |
| | | private fun getScoreConfig() { |