GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - yalandingtw/SimpleExtra: Android annotation injection library for parse bundle.

BranchesTags
Open more actions menu

Latest commit

 

History

20 Commits
20 Commits

Folders and files

NameName
Last commit message
Last commit date
.idea
.idea
 
 
app
app
 
 
gradle
gradle
 
 
simple-extra
simple-extra
 
 
.gitignore
.gitignore
 
 
README.md
README.md
 
 
build.gradle
build.gradle
 
 
gradle.properties
gradle.properties
 
 
gradlew
gradlew
 
 
gradlew.bat
gradlew.bat
 
 
settings.gradle
settings.gradle
 
 

Repository files navigation

SimpleExtra

Android annotation injection library for parse bundle.

如何使用 Usage

  • Add dependency in build.gradle:
dependencies {
    compile 'tw.yalan:simple-extra:1.0.1'
}
  • Add @Extra/@NestedExtra annotation on Field
    @Extra(key = "needLogin", defaultValue = DefaultValue.TRUE)
    boolean extraBooleanDefaultTrue;
    
    @Extra(key = "TESTStringArray")
    String[] testStringArray;
    
    @Extra(key = "DemoObject")
    DemoObjectParcelable singleObject;
    
    @NestedExtra(keys = {"BUNDLE", "NESTED"})
    String nextedValue;
  • Call SimpleExtra.inject() anywhere you want.
    SimpleExtra.inject(Object, bundle);
    SimpleExtra.inject(Activity);
    SimpleExtra.inject(Fragment);
    SimpleExtra.inject(DialogFragment);

Annotations

  • @Extra()
  • @NestedExtra()

Release Notes

  • 1.0.1: Fix issue.
  • 1.0.0: Release.

About

Android annotation injection library for parse bundle.

Resources

Readme
Activity

Stars

1 star

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.