Skip to content

This is a test project that makes a comparative of field injection using @Inject annotated constructors VS @provides annotation methods in modules.

License

Notifications You must be signed in to change notification settings

fSergio101/daggerTwoInjectTests

Repository files navigation

Dagger Two Injection Test

This is a test project that makes a comparative of field injection using @Inject annotated constructors VS @Provides annotation methods in modules.

Each button uses an strategy and the Fail one uses the second without declaring injection method over instance that should be resolving @Inject annotated fields. You can fork it and play. PR's are more than welcome.

here you go the Screen capture:

License

Copyright 2016 Sergio Martínez Rodríguez

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

   http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.

About

This is a test project that makes a comparative of field injection using @Inject annotated constructors VS @provides annotation methods in modules.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages