yatatsu / AutoBundle

AutoBundle generates boilerplate code for field binding with android.os.Bundle
Apache License 2.0
135 stars 13 forks source link

Revive dispatcher and utility class #9

Closed yatatsu closed 8 years ago

yatatsu commented 8 years ago

Reimplement AutoBundle class which removed in #6. The new solution is without reflection.

Now you can use like this.

Before

FooActivityAutoBundle.bind(this, getIntent());

After

// no need to build for resolving `AutoBundle` class
AutoBundle.bind(this, getIntent());