This repository has been archived by the owner on Jan 11, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 49
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 #141 from alexstyl/static_analysis
Static analysis
- Loading branch information
Showing
170 changed files
with
1,440 additions
and
1,281 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
15 changes: 15 additions & 0 deletions
15
android_mobile/src/debug/java/com/alexstyl/specialdates/DebugAppComponent.java
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,15 @@ | ||
package com.alexstyl.specialdates; | ||
|
||
import com.alexstyl.specialdates.debug.DebugFragment; | ||
import com.alexstyl.specialdates.events.namedays.NamedayModule; | ||
|
||
import javax.inject.Singleton; | ||
|
||
import dagger.Component; | ||
|
||
@Singleton | ||
@Component(modules = {NamedayModule.class}) | ||
public interface DebugAppComponent { | ||
|
||
void inject(DebugFragment fragment); | ||
} |
20 changes: 20 additions & 0 deletions
20
android_mobile/src/debug/java/com/alexstyl/specialdates/DebugApplication.java
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 |
---|---|---|
@@ -1,10 +1,30 @@ | ||
package com.alexstyl.specialdates; | ||
|
||
import android.content.Context; | ||
|
||
import com.alexstyl.specialdates.events.namedays.NamedayModule; | ||
|
||
public class DebugApplication extends MementoApplication { | ||
|
||
private DebugAppComponent debugAppComponent; | ||
|
||
@Override | ||
protected void attachBaseContext(Context base) { | ||
super.attachBaseContext(base); | ||
debugAppComponent = | ||
DaggerDebugAppComponent.builder() | ||
.namedayModule(new NamedayModule(this)) | ||
.build(); | ||
} | ||
|
||
@Override | ||
protected void initialiseDependencies() { | ||
super.initialiseDependencies(); | ||
new OptionalDependencies(this).initialise(); | ||
} | ||
|
||
public DebugAppComponent getDebugAppComponent() { | ||
return debugAppComponent; | ||
} | ||
|
||
} |
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
36 changes: 0 additions & 36 deletions
36
android_mobile/src/debug/java/com/alexstyl/specialdates/person/PlayGroundActivity.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.