参考资料
LiveTemplate for RecyclerView Adapter
操作步骤
1 | Settings | Editor | File and Code Templates |
添加模板文件,命名为 RecyclerView Adapter
模板代码
1 | #if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end |
总结&记录
LiveTemplate for RecyclerView Adapter
1 | Settings | Editor | File and Code Templates |
添加模板文件,命名为 RecyclerView Adapter
1 | #if (${PACKAGE_NAME} && ${PACKAGE_NAME} != "")package ${PACKAGE_NAME};#end |