Skip to content
/ base Public

页面基类 BaseActivity/BaseFragment 统一了子类初始化UI(onSetupUI)的位置

License

Notifications You must be signed in to change notification settings

czy1121/base

Repository files navigation

base

页面基类 BaseActivity/BaseFragment 统一了子类初始化UI(onSetupUI)的位置

Gradle

repositories {
    maven { url "https://gitee.com/ezy/repo/raw/cosmo/"}
}
dependencies {
    implementation "me.reezy.cosmo:base:0.8.0"
}

使用

class MainActivity : BaseActivity(R.layout.activity_main) {

    override fun onSetupUI() {
         // TODO
    } 
}

class SimpleFragment: BaseFragment(R.layout.layout_simple) {

    override fun onSetupUI() {
         // TODO
    }

    override fun onLazyLoad() {
         // TODO
    }
}

LICENSE

The Component is open-sourced software licensed under the Apache license.

About

页面基类 BaseActivity/BaseFragment 统一了子类初始化UI(onSetupUI)的位置

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages