// Path: sample/src/main/java/com/tresorit/zerokitsdk/viewmodel/MainViewModel.java
// public class MainViewModel extends BaseObservable {
// 
//     @SuppressWarnings("WeakerAccess")
//     public final BottomNavigationView.OnNavigationItemSelectedListener onNavigationItemSelectedListener;
// 
//     @Inject
//     public MainViewModel(final EventBus eventBus) {
//         onNavigationItemSelectedListener = new BottomNavigationView.OnNavigationItemSelectedListener() {
//             @Override
//             public boolean onNavigationItemSelected(@NonNull MenuItem item) {
//                 eventBus.post(new TabSelectMessage(item.getItemId()));
//                 return true;
//             }
//         };
//     }
// }


import com.tresorit.zerokitsdk.scopes.ActivityScope;
import com.tresorit.zerokitsdk.viewmodel.MainViewModel;
import org.greenrobot.eventbus.EventBus;
import dagger.Module;
import dagger.Provides;
package com.tresorit.zerokitsdk.module;




@Module
public class MainModule {
    @Provides
    @ActivityScope
// Path: sample/src/main/java/com/tresorit/zerokitsdk/viewmodel/MainViewModel.java
// public class MainViewModel extends BaseObservable {
// 
//     @SuppressWarnings("WeakerAccess")
//     public final BottomNavigationView.OnNavigationItemSelectedListener onNavigationItemSelectedListener;
// 
//     @Inject
//     public MainViewModel(final EventBus eventBus) {
//         onNavigationItemSelectedListener = new BottomNavigationView.OnNavigationItemSelectedListener() {
//             @Override
//             public boolean onNavigationItemSelected(@NonNull MenuItem item) {
//                 eventBus.post(new TabSelectMessage(item.getItemId()));
//                 return true;
//             }
//         };
//     }
// }


// Path: sample/src/main/java/com/tresorit/zerokitsdk/module/MainModule.java
import com.tresorit.zerokitsdk.scopes.ActivityScope;
import com.tresorit.zerokitsdk.viewmodel.MainViewModel;
import org.greenrobot.eventbus.EventBus;
import dagger.Module;
import dagger.Provides;

package com.tresorit.zerokitsdk.module;




@Module
public class MainModule {
    @Provides
    @ActivityScope
    public MainViewModel provideMainViewModel(EventBus eventBus) {