ko5tik / andject

Lightweight dependency injection for android
11 stars 3 forks source link

You should create a sample #2

Open stephanenicolas opened 12 years ago

stephanenicolas commented 12 years ago

It's hard to get an idea of capabilities of Andject just by reading code and tests.

What's mockit by the way ?

ko5tik commented 12 years ago

Sample is definitely necessary, and sister project already has it:

Injecting views:

https://github.com/ko5tik/camerawatch/blob/master/src/de/pribluda/android/camerawatch/Settings.java

Injecting preferences:

https://github.com/ko5tik/camerawatch/blob/master/src/de/pribluda/android/camerawatch/Configuration.java

JMockit is advanced mocking toolkit ( as you can not use android classes outside emulator / device u have to mock heavily in order to test )

http://code.google.com/p/jmockit/

have fun,

On Fri, Oct 19, 2012 at 3:30 PM, stephanenicolas notifications@github.comwrote:

It's hard to get an idea of capabilities of Andject just by reading code and tests.

What's mockit by the way ?

— Reply to this email directly or view it on GitHubhttps://github.com/ko5tik/andject/issues/2.