The fingerprint examples are good but I think it is bad practice to use Dependency Injections in a Google Sample(or any open-source sample). I am assuming most developers are not using DI in their applications or familiar with them (especially new developers). It is also recommended not to use DI frameworks. https://developer.android.com/training/articles/memory.html#DependencyInjection. Although it simplifies the code for the creator, it complicates code for individuals like myself that don't use DI.
The fingerprint examples are good but I think it is bad practice to use Dependency Injections in a Google Sample(or any open-source sample). I am assuming most developers are not using DI in their applications or familiar with them (especially new developers). It is also recommended not to use DI frameworks. https://developer.android.com/training/articles/memory.html#DependencyInjection. Although it simplifies the code for the creator, it complicates code for individuals like myself that don't use DI.