SkillAgentSearch skills...

DaggerTwoInjectTests

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

Install / Use

/learn @fSergio101/DaggerTwoInjectTests
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

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:

<img src="https://github.com/fsergio101/daggerTwoInjectTests/blob/master/art/capture.png" width="300">

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.

Related Skills

View on GitHub
GitHub Stars7
CategoryDevelopment
Updated5y ago
Forks0

Languages

Java

Security Score

70/100

Audited on Apr 8, 2021

No findings