Search in sources :

Example 1 with Gdew075t8EpdDriverController

use of com.leinardi.android.things.deskclock.epd.Gdew075t8EpdDriverController in project androidthings-deskclock by leinardi.

the class AndroidThingsModule method provideEpdDriverController.

@Singleton
@Provides
EpdDriverController provideEpdDriverController(@Nullable Gdew075t8Epd epd) {
    Gdew075t8EpdDriverController controller = new Gdew075t8EpdDriverController();
    controller.setDriver(epd);
    return controller;
}
Also used : Gdew075t8EpdDriverController(com.leinardi.android.things.deskclock.epd.Gdew075t8EpdDriverController) Singleton(javax.inject.Singleton) Provides(dagger.Provides)

Aggregations

Gdew075t8EpdDriverController (com.leinardi.android.things.deskclock.epd.Gdew075t8EpdDriverController)1 Provides (dagger.Provides)1 Singleton (javax.inject.Singleton)1