TrendingTechnology / KSPWebViewLoader

android webview loader using ksp

Home Page:https://velog.io/@jshme/KSP-Kotlin-Symbol-Processor-%ED%86%BA%EC%95%84%EB%B3%B4%EA%B8%B0

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KSPWebViewLoader 🚧

@WebViewBuilder Annotation can be automating your webview settings. (WIP)

How to use

@WebViewBuilder(
    url = "https://www.google.com/",
    autoSet = true
)
lateinit var webView: WebView

override fun onCreate(savedInstanceState: Bundle?) {
      super.onCreate(savedInstanceState)
      setContentView(R.layout.activity_main)

      webView = findViewById<WebView>(R.id.webView)
		  WebViewLoader.onInitialize(this)
	  	}
			

Reference

https://jsuch2362.medium.com/my-first-kotlin-symbol-processing-tool-for-android-4eb3a2cfd600

https://github.com/google/ksp

https://medium.com/@jason_kim/annotation-processing-101-%EB%B2%88%EC%97%AD-be333c7b913

About

android webview loader using ksp

https://velog.io/@jshme/KSP-Kotlin-Symbol-Processor-%ED%86%BA%EC%95%84%EB%B3%B4%EA%B8%B0


Languages

Language:Kotlin 100.0%