Skip to content

Releases: ValeryPonomarenko/ComponentsManager

2.1.1

16 Jul 08:10
267fa73
Compare
Choose a tag to compare

Replace AppCompatActivity to FragmentActivity

2.1.0

11 Oct 13:45
Compare
Choose a tag to compare

*InjectionManagers have two new methods to find a component. The methods return null if a component was not found and no exceptions are thrown.

// finds a component by type
XInjectionManager
    .findComponentOrNull<SomeComponent>()
    ?.someMethod()

// finds a component by predicate
XInjectionManager
    .findComponentOrNull { /* predicate */ }
    ?.someMethod()

The ComponentNotFoundException class that is inside me.vponomarenko.injectionmanager.exeptions package is deprecated, because the exeptions was misspelled, so use ComponentNotFoundException that is inside me.vponomarenko.injectionmanager.exceptions package. The new ComponentNotFoundException class is inherited from the old one.