<commit_before>package com.vikashkothary.life.injection.component;

import com.vikashkothary.life.injection.PerActivity;
import com.vikashkothary.life.injection.module.ActivityModule;
import com.vikashkothary.life.ui.LauncherActivity;
import com.vikashkothary.life.ui.creation.CreationActivity;
import com.vikashkothary.life.ui.creation.CreateReminderFragment;
import com.vikashkothary.life.ui.main.MainActivity;
import com.vikashkothary.life.ui.ribot.RibotFragment;
import com.vikashkothary.life.ui.settings.SettingsActivity;
import com.vikashkothary.life.ui.settings.SettingsFragment;
import com.vikashkothary.life.ui.stream.StreamFragment;

import dagger.Subcomponent;

/**
 * This component inject dependencies to all Activities across the application
 */
@PerActivity
@Subcomponent(modules = ActivityModule.class)
public interface ActivityComponent {

    // Activities
    void inject(LauncherActivity launcherActivity);

    void inject(MainActivity mainActivity);

    void inject(CreationActivity creationActivity);

    void inject(SettingsActivity settingsActivity);

    // Fragments
    void inject(RibotFragment ribotFragment);

    void inject(CreateReminderFragment creationFragment);

    void inject(SettingsFragment settingsFragment);

    void inject(StreamFragment streamFragment);
}<commit_msg>Inject activities and fragments to ActivityComponent<commit_after>package com.vikashkothary.life.injection.component;

import com.vikashkothary.life.injection.PerActivity;
import com.vikashkothary.life.injection.module.ActivityModule;
import com.vikashkothary.life.ui.LauncherActivity;
import com.vikashkothary.life.ui.creation.CreateReminderFragment;
import com.vikashkothary.life.ui.creation.CreationActivity;
import com.vikashkothary.life.ui.login.LoginActivity;
import com.vikashkothary.life.ui.login.LoginFragment;
import com.vikashkothary.life.ui.login.RegisterFragment;
import com.vikashkothary.life.ui.main.MainActivity;
import com.vikashkothary.life.ui.ribot.RibotFragment;
import com.vikashkothary.life.ui.settings.SettingsActivity;
import com.vikashkothary.life.ui.settings.SettingsFragment;
import com.vikashkothary.life.ui.stream.StreamFragment;

import dagger.Subcomponent;

/**
 * This component inject dependencies to all Activities across the application
 */
@PerActivity
@Subcomponent(modules = ActivityModule.class)
public interface ActivityComponent {

    // Activities
    void inject(LauncherActivity launcherActivity);

    void inject(MainActivity mainActivity);

    void inject(LoginActivity loginActivity);

    void inject(CreationActivity creationActivity);

    void inject(SettingsActivity settingsActivity);

    // Fragments
    void inject(RibotFragment ribotFragment);

    void inject(LoginFragment loginFragment);

    void inject(RegisterFragment registerFragment);

    void inject(StreamFragment streamFragment);

    void inject(CreateReminderFragment creationFragment);

    void inject(SettingsFragment settingsFragment);

}
{'fraction_non_alphanumeric': 0.08277479892761394, 'fraction_numerical': 0.0, 'mean_word_length': 6.040094339622642, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5221562', 'n_tokens_mistral': 854, 'n_tokens_neox': 818, 'n_words': 152}