com.dreamgyf.android.fastinflate
Owner: Gao Yunfeng
Parse the layout xml file at compile time, and convert the reflection instantiation in LayoutInflater into normal instantiation, so as to improve the performance of layout loading. 编译期时解析布局xml文件,将LayoutInflater中的反射实例化转成普通的实例化,以此来提高布局加载的性能
https://github.com/dreamgyf/FastInflate
Sources: https://github.com/dreamgyf/FastInflate.git
Version 0.1.0-alpha-04
0.1.0-alpha-04
Created 05 November 2022.
Parse the layout xml file at compile time, and convert the reflection instantiation in LayoutInflater into normal instantiation, so as to improve the performance of layout loading.
编译期时解析布局xml文件,将LayoutInflater中的反射实例化转成普通的实例化,以此来提高布局加载的性能
Using the plugins DSL:
plugins {
id("com.dreamgyf.android.fastinflate") version "0.1.0-alpha-04"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url = uri("https://plugins.gradle.org/m2/")
}
}
dependencies {
classpath("com.dreamgyf.android.plugin:FastInflatePlugin:0.1.0-alpha-04")
}
}
apply(plugin = "com.dreamgyf.android.fastinflate")
Using the plugins DSL:
plugins {
id "com.dreamgyf.android.fastinflate" version "0.1.0-alpha-04"
}
Using legacy plugin application:
buildscript {
repositories {
maven {
url "https://plugins.gradle.org/m2/"
}
}
dependencies {
classpath "com.dreamgyf.android.plugin:FastInflatePlugin:0.1.0-alpha-04"
}
}
apply plugin: "com.dreamgyf.android.fastinflate"