package com.metova.privvy.sample.di;

import com.metova.privvy.sample.ui.floatingnumber.buttons.ButtonComponent;
import com.metova.privvy.sample.ui.floatingnumber.buttons.ButtonModule;
import com.metova.privvy.sample.ui.list.ListComponent;
import com.metova.privvy.sample.ui.list.ListModule;
import com.metova.privvy.sample.ui.floatingnumber.number.NumberComponent;
import com.metova.privvy.sample.ui.floatingnumber.number.NumberModule;

import dagger.Module;
import dagger.Provides;

@Module(subcomponents = {
        NumberComponent.class,
        ButtonComponent.class,
        ListComponent.class,
//        SkeletonComponent.class
})
public class PrivvyModule {

    @Provides
    NumberComponent provideNumberComponent(NumberComponent.Builder builder) {
        return builder.numberModule(new NumberModule()).build();
    }

    @Provides
    ButtonComponent provideButtonComponent(ButtonComponent.Builder builder) {
        return builder.buttonModule(new ButtonModule()).build();
    }

    @Provides
    ListComponent provideListComponent(ListComponent.Builder builder) {
        return builder.listModule(new ListModule()).build();
    }

//    @Provides
//    SkeletonComponent provideSkeletonComponent(SkeletonComponent.Builder builder) {
//        return builder.skeletonModule(new SkeletonModule()).build();
//    }
}

@@ -671,24 +671,41 @@
   @Provides%0A
+    @PrivvyScope%0A
     NumberCo
@@ -762,32 +762,32 @@
 lder builder) %7B%0A
-
         return b
@@ -852,24 +852,41 @@
   @Provides%0A
+    @PrivvyScope%0A
     ButtonCo
@@ -1033,24 +1033,41 @@
   @Provides%0A
+    @PrivvyScope%0A
     ListComp
@@ -1194,16 +1194,16 @@
 %0A    %7D%0A%0A
-
 //    @P
@@ -1210,16 +1210,35 @@
 rovides%0A
+//    @PrivvyScope%0A
 //    Sk

Add @PrivvyScope to provide methods in PrivvyModule