Android Studio Template(模板)开发
AS4.1之后,请移步点击4.1
参考文章https://www.jianshu.com/p/e3548f441440
github例子参考
- 首先我们先下载TemplateBuilder
- 创建模版,这里我们结合xml布局,先创建java的,kotlin后期根据java版本进行更改
package ${packageName};
import android.os.Bundle;
import com.millet.mylibrary.mvvm.BaseBindingActivity;
import org.jetbrains.annotations.Nullable;
public class ${activityClass} extends BaseBindingActivity<${activityBinding}> {
@Override
protec