forked from konifar/droidkaigi2018-flutter
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request konifar#26 from DroidKaigi/create-empty-activity-a…
…nd-fragments Create empty activities and fragments
- Loading branch information
Showing
58 changed files
with
1,220 additions
and
153 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
app/src/main/java/io/github/droidkaigi/confsched2018/di/AboutThisAppActivityBuilder.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package io.github.droidkaigi.confsched2018.di | ||
|
||
import dagger.Module | ||
import dagger.android.ContributesAndroidInjector | ||
import io.github.droidkaigi.confsched2018.presentation.about.AboutThisAppActivity | ||
import io.github.droidkaigi.confsched2018.presentation.detail.SessionDetailActivity | ||
|
||
@Module abstract class AboutThisAppActivityBuilder { | ||
@ContributesAndroidInjector(modules = [FragmentBuildersModule::class, AboutThisAppActivityModule::class]) | ||
abstract fun contributeAboutThisAppActivity(): AboutThisAppActivity | ||
} |
11 changes: 11 additions & 0 deletions
11
app/src/main/java/io/github/droidkaigi/confsched2018/di/AboutThisAppActivityModule.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package io.github.droidkaigi.confsched2018.di | ||
|
||
import android.support.v7.app.AppCompatActivity | ||
import dagger.Binds | ||
import dagger.Module | ||
import io.github.droidkaigi.confsched2018.presentation.about.AboutThisAppActivity | ||
import io.github.droidkaigi.confsched2018.presentation.detail.SessionDetailActivity | ||
|
||
@Module interface AboutThisAppActivityModule { | ||
@Binds fun providesAppCompatActivity(activity: AboutThisAppActivity): AppCompatActivity | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
app/src/main/java/io/github/droidkaigi/confsched2018/di/MapActivityBuilder.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package io.github.droidkaigi.confsched2018.di | ||
|
||
import dagger.Module | ||
import dagger.android.ContributesAndroidInjector | ||
import io.github.droidkaigi.confsched2018.presentation.detail.SessionDetailActivity | ||
import io.github.droidkaigi.confsched2018.presentation.map.MapActivity | ||
|
||
@Module abstract class MapActivityBuilder { | ||
@ContributesAndroidInjector(modules = [FragmentBuildersModule::class, MapActivityModule::class]) | ||
abstract fun contributeMapActivity(): MapActivity | ||
|
||
} |
11 changes: 11 additions & 0 deletions
11
app/src/main/java/io/github/droidkaigi/confsched2018/di/MapActivityModule.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package io.github.droidkaigi.confsched2018.di | ||
|
||
import android.support.v7.app.AppCompatActivity | ||
import dagger.Binds | ||
import dagger.Module | ||
import io.github.droidkaigi.confsched2018.presentation.detail.SessionDetailActivity | ||
import io.github.droidkaigi.confsched2018.presentation.map.MapActivity | ||
|
||
@Module interface MapActivityModule { | ||
@Binds fun providesAppCompatActivity(activity: MapActivity): AppCompatActivity | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
12 changes: 12 additions & 0 deletions
12
app/src/main/java/io/github/droidkaigi/confsched2018/di/SettingsActivityBuilder.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package io.github.droidkaigi.confsched2018.di | ||
|
||
import dagger.Module | ||
import dagger.android.ContributesAndroidInjector | ||
import io.github.droidkaigi.confsched2018.presentation.detail.SessionDetailActivity | ||
import io.github.droidkaigi.confsched2018.presentation.settings.SettingsActivity | ||
|
||
@Module abstract class SettingsActivityBuilder { | ||
@ContributesAndroidInjector(modules = [FragmentBuildersModule::class, SettingsActivityModule::class]) | ||
abstract fun contributeSettingsActivity(): SettingsActivity | ||
|
||
} |
11 changes: 11 additions & 0 deletions
11
app/src/main/java/io/github/droidkaigi/confsched2018/di/SettingsActivityModule.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package io.github.droidkaigi.confsched2018.di | ||
|
||
import android.support.v7.app.AppCompatActivity | ||
import dagger.Binds | ||
import dagger.Module | ||
import io.github.droidkaigi.confsched2018.presentation.detail.SessionDetailActivity | ||
import io.github.droidkaigi.confsched2018.presentation.settings.SettingsActivity | ||
|
||
@Module interface SettingsActivityModule { | ||
@Binds fun providesAppCompatActivity(activity: SettingsActivity): AppCompatActivity | ||
} |
12 changes: 12 additions & 0 deletions
12
app/src/main/java/io/github/droidkaigi/confsched2018/di/SponsorsActivityBuilder.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package io.github.droidkaigi.confsched2018.di | ||
|
||
import dagger.Module | ||
import dagger.android.ContributesAndroidInjector | ||
import io.github.droidkaigi.confsched2018.presentation.detail.SessionDetailActivity | ||
import io.github.droidkaigi.confsched2018.presentation.sponsors.SponsorsActivity | ||
|
||
@Module abstract class SponsorsActivityBuilder { | ||
@ContributesAndroidInjector(modules = [FragmentBuildersModule::class, SponsorsActivityModule::class]) | ||
abstract fun contributeSponsorsActivity(): SponsorsActivity | ||
|
||
} |
11 changes: 11 additions & 0 deletions
11
app/src/main/java/io/github/droidkaigi/confsched2018/di/SponsorsActivityModule.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package io.github.droidkaigi.confsched2018.di | ||
|
||
import android.support.v7.app.AppCompatActivity | ||
import dagger.Binds | ||
import dagger.Module | ||
import io.github.droidkaigi.confsched2018.presentation.detail.SessionDetailActivity | ||
import io.github.droidkaigi.confsched2018.presentation.sponsors.SponsorsActivity | ||
|
||
@Module interface SponsorsActivityModule { | ||
@Binds fun providesAppCompatActivity(activity: SponsorsActivity): AppCompatActivity | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.