This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| /** Пример использования */ | |
| class MainActivity : AppCompatActivity(R.layout.activity_main) { | |
| @Inject lateinit var fragmentFactory: FragmentFactory | |
| override fun onCreate(savedInstanceState: Bundle?) { | |
| DaggerActivityComponent | |
| .factory() | |
| .create() | |
| .inject(this) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| package com.example.overlay; | |
| public class Entry { | |
| private final int imageResId; | |
| private final String title; | |
| public Entry( int imageResId, String title ) { | |
| this.imageResId = imageResId; |