-
Notifications
You must be signed in to change notification settings - Fork 5
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 #35 from MarcelJurtz/dev
Dev
- Loading branch information
Showing
82 changed files
with
3,837 additions
and
4,729 deletions.
There are no files selected for viewing
Binary file not shown.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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: 0 additions & 12 deletions
12
app/src/main/java/com/marceljurtz/lifecounter/contracts/INavDrawerInteraction.java
This file was deleted.
Oops, something went wrong.
12 changes: 12 additions & 0 deletions
12
app/src/main/java/com/marceljurtz/lifecounter/contracts/INavDrawerInteraction.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 com.marceljurtz.lifecounter.contracts | ||
|
||
interface INavDrawerInteraction { | ||
fun onMenuEntryTwoPlayerTap() | ||
fun onMenuEntryFourPlayerTap() | ||
fun onMenuEntryDicingTap() | ||
fun onMenuEntryCounterManagerTap() | ||
fun onMenuEntrySettingsTap() | ||
fun onMenuEntryAboutTap() | ||
fun onMenuEntryEnergySaveTap() | ||
fun onMenuEntryTogglePlayerTap() | ||
} |
10 changes: 0 additions & 10 deletions
10
app/src/main/java/com/marceljurtz/lifecounter/contracts/base/IPresenter.java
This file was deleted.
Oops, something went wrong.
10 changes: 10 additions & 0 deletions
10
app/src/main/java/com/marceljurtz/lifecounter/contracts/base/IPresenter.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,10 @@ | ||
package com.marceljurtz.lifecounter.contracts.base | ||
|
||
import com.marceljurtz.lifecounter.contracts.INavDrawerInteraction | ||
|
||
interface IPresenter : INavDrawerInteraction { | ||
fun onCreate() | ||
fun onPause() | ||
fun onResume() | ||
fun onDestroy() | ||
} |
6 changes: 0 additions & 6 deletions
6
app/src/main/java/com/marceljurtz/lifecounter/contracts/base/IView.java
This file was deleted.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
app/src/main/java/com/marceljurtz/lifecounter/contracts/base/IView.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,6 @@ | ||
package com.marceljurtz.lifecounter.contracts.base | ||
|
||
interface IView { | ||
fun loadActivity(c: Class<*>) | ||
fun startBrowserIntent(url: String) | ||
} |
4 changes: 2 additions & 2 deletions
4
...urtz/lifecounter/enums/ClickTypeEnum.java → ...ljurtz/lifecounter/enums/ClickTypeEnum.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 |
---|---|---|
@@ -1,9 +1,9 @@ | ||
package com.marceljurtz.lifecounter.enums; | ||
package com.marceljurtz.lifecounter.enums | ||
|
||
/** | ||
* Enumeration to differentiate between long and regular clicks | ||
*/ | ||
|
||
public enum ClickTypeEnum { | ||
enum class ClickTypeEnum { | ||
SHORT, LONG | ||
} |
6 changes: 0 additions & 6 deletions
6
app/src/main/java/com/marceljurtz/lifecounter/enums/CounterType.java
This file was deleted.
Oops, something went wrong.
6 changes: 6 additions & 0 deletions
6
app/src/main/java/com/marceljurtz/lifecounter/enums/CounterType.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,6 @@ | ||
package com.marceljurtz.lifecounter.enums | ||
|
||
enum class CounterType { | ||
Counter, | ||
Planeswalker | ||
} |
5 changes: 0 additions & 5 deletions
5
app/src/main/java/com/marceljurtz/lifecounter/enums/MagicColorEnum.java
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
app/src/main/java/com/marceljurtz/lifecounter/enums/MagicColorEnum.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,5 @@ | ||
package com.marceljurtz.lifecounter.enums | ||
|
||
enum class MagicColorEnum { | ||
BLACK, BLUE, GREEN, RED, WHITE | ||
} |
5 changes: 0 additions & 5 deletions
5
app/src/main/java/com/marceljurtz/lifecounter/enums/OperatorEnum.java
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
app/src/main/java/com/marceljurtz/lifecounter/enums/OperatorEnum.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,5 @@ | ||
package com.marceljurtz.lifecounter.enums | ||
|
||
enum class OperatorEnum { | ||
ADD, SUBSTRACT | ||
} |
14 changes: 0 additions & 14 deletions
14
app/src/main/java/com/marceljurtz/lifecounter/enums/PlayerIdEnum.java
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
app/src/main/java/com/marceljurtz/lifecounter/enums/PlayerIdEnum.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,5 @@ | ||
package com.marceljurtz.lifecounter.enums | ||
|
||
enum class PlayerIdEnum private constructor(val value: Int) { | ||
ONE(1), TWO(2), THREE(3), FOUR(4) | ||
} |
5 changes: 0 additions & 5 deletions
5
app/src/main/java/com/marceljurtz/lifecounter/models/AppDetails.java
This file was deleted.
Oops, something went wrong.
5 changes: 5 additions & 0 deletions
5
app/src/main/java/com/marceljurtz/lifecounter/models/AppDetails.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,5 @@ | ||
package com.marceljurtz.lifecounter.models | ||
|
||
object AppDetails { | ||
val CONTACT_MAIL = "mailto:[email protected]" | ||
} |
108 changes: 0 additions & 108 deletions
108
app/src/main/java/com/marceljurtz/lifecounter/models/Color.java
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.