【文件属性】:
文件名称:Android代码-一个关于Intent and Bundle的pocketknife
文件大小:552KB
文件格式:ZIP
更新时间:2022-08-25 20:28:21
Android代码
Deprecated Look into using Kotlin and Android Extras Delegates
Pocket Knife
Intent and Bundle utility library for Android which uses annotation processing to generate boilerplate code
for you. This library is based on ButterKnife and Dagger
NOTE
Version 2.0 generated code is not compatible with version 1.0.
Any libraries that use Pocket Knife will need to be updated to 2.0.
class ExampleActivity extends Activity {
@BindExtra
int id;
@SaveState
int listPosition;
public void onCreate(B