Android代码-AutoBundle

时间:2022-08-27 23:49:39
【文件属性】:

文件名称:Android代码-AutoBundle

文件大小:181KB

文件格式:ZIP

更新时间:2022-08-27 23:49:39

Android代码

AutoBundle AutoBundle generates boilerplate code for field binding with android.os.Bundle. Usage Advanced Example Principle Download Props License Usage Generate builder method Bind annotated fields Store annotated fields 1. Generate builder method In your class which has state from Bundle (Activity, BroadcastReceiver, Service, Fragment or others), declare fields with @AutoBundleField. Here is example for Activity. public class MyActivity extends Activity { // field with @AutoBundl


网友评论