This example contains initially 3 java files:
- SearchApp.java Has the main method
- SearchInPage.java Perfoms the search of a keyword in a string
- HttpClient.java Fetch a webpage
SearchInPage has a dependency on HttpClient, this example is to show how Dagger 2 can be used as Dependency Injection framework.