forked from iSoron/uhabits
-
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 branch 'feature/kotlin' into dev
- Loading branch information
Showing
147 changed files
with
3,835 additions
and
5,594 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,3 +23,4 @@ gen/ | |
local.properties | ||
crowdin.yaml | ||
local | ||
tmp/ |
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
/* | ||
* Copyright (C) 2017 Álinson Santos Xavier <[email protected]> | ||
* Copyright (C) 2016 Álinson Santos Xavier <[email protected]> | ||
* | ||
* This file is part of Loop Habit Tracker. | ||
* | ||
|
@@ -17,25 +17,26 @@ | |
* with this program. If not, see <http://www.gnu.org/licenses/>. | ||
*/ | ||
|
||
package org.isoron.uhabits.activities; | ||
package org.isoron.androidbase.activities; | ||
|
||
import org.isoron.uhabits.core.models.*; | ||
import android.content.*; | ||
|
||
import dagger.*; | ||
|
||
@Module | ||
public class HabitModule | ||
public class ActivityContextModule | ||
{ | ||
private final Habit habit; | ||
private Context context; | ||
|
||
public HabitModule(Habit habit) | ||
public ActivityContextModule(Context context) | ||
{ | ||
this.habit = habit; | ||
this.context = context; | ||
} | ||
|
||
@Provides | ||
public Habit getHabit() | ||
@ActivityContext | ||
public Context getContext() | ||
{ | ||
return habit; | ||
return context; | ||
} | ||
} |
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
org.gradle.parallel=true | ||
org.gradle.parallel=false | ||
org.gradle.daemon=true | ||
org.gradle.jvmargs=-Xms1024m -Xmx4096m -XX:MaxPermSize=2048m | ||
org.gradle.jvmargs=-Xms2048m -Xmx2048m -XX:MaxPermSize=2048m |
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
Binary file added
BIN
+1.43 KB
...Test/assets/views-v19/habits/list/CheckmarkPanelView/render_different_color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.19 KB
...c/androidTest/assets/views-v19/habits/list/CheckmarkPanelView/render_offset.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.46 KB
...androidTest/assets/views-v19/habits/list/CheckmarkPanelView/render_reversed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.21 KB
...android/src/androidTest/assets/views-v19/habits/list/NumberPanelView/render.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.22 KB
...oidTest/assets/views-v19/habits/list/NumberPanelView/render_different_color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.65 KB
.../src/androidTest/assets/views-v19/habits/list/NumberPanelView/render_offset.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.21 KB
...rc/androidTest/assets/views-v19/habits/list/NumberPanelView/render_reversed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+438 Bytes
(100%)
uhabits-android/src/androidTest/assets/views-v19/widgets/HistoryWidget/render.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-376 Bytes
(98%)
uhabits-android/src/androidTest/assets/views-v19/widgets/ScoreWidget/render.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-286 Bytes
(98%)
...roid/src/androidTest/assets/views-v21/common/RingView/renderDifferentParams.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+101 Bytes
(100%)
...its-android/src/androidTest/assets/views-v21/common/ScoreChart/renderYearly.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+8 Bytes
(100%)
...Test/assets/views-v21/habits/list/CheckmarkButtonView/render_explicit_check.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+18 Bytes
(100%)
...roid/src/androidTest/assets/views-v21/habits/list/CheckmarkPanelView/render.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.41 KB
...Test/assets/views-v21/habits/list/CheckmarkPanelView/render_different_color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.24 KB
...c/androidTest/assets/views-v21/habits/list/CheckmarkPanelView/render_offset.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+1.45 KB
...androidTest/assets/views-v21/habits/list/CheckmarkPanelView/render_reversed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+19 Bytes
(100%)
...s-android/src/androidTest/assets/views-v21/habits/list/HabitCardView/render.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+19 Bytes
(100%)
...d/src/androidTest/assets/views-v21/habits/list/HabitCardView/render_changed.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+10.6 KB
...src/androidTest/assets/views-v21/habits/list/HabitCardView/render_numerical.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
+35 Bytes
(100%)
.../src/androidTest/assets/views-v21/habits/list/HabitCardView/render_selected.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-289 Bytes
(95%)
uhabits-android/src/androidTest/assets/views-v21/habits/list/HeaderView/render.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-273 Bytes
(95%)
...roid/src/androidTest/assets/views-v21/habits/list/HeaderView/render_reverse.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.41 KB
...android/src/androidTest/assets/views-v21/habits/list/NumberPanelView/render.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.35 KB
...oidTest/assets/views-v21/habits/list/NumberPanelView/render_different_color.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.87 KB
.../src/androidTest/assets/views-v21/habits/list/NumberPanelView/render_offset.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added
BIN
+7.41 KB
...rc/androidTest/assets/views-v21/habits/list/NumberPanelView/render_reversed.png
Oops, something went wrong.
Binary file modified
BIN
+5.51 KB
(130%)
...s-android/src/androidTest/assets/views-v21/habits/show/FrequencyCard/render.png
Oops, something went wrong.
Binary file modified
BIN
+5.28 KB
(150%)
...ts-android/src/androidTest/assets/views-v21/habits/show/SubtitleCard/render.png
Oops, something went wrong.
Binary file modified
BIN
+458 Bytes
(100%)
uhabits-android/src/androidTest/assets/views-v21/widgets/HistoryWidget/render.png
Oops, something went wrong.
Binary file modified
BIN
+268 Bytes
(100%)
uhabits-android/src/androidTest/assets/views-v21/widgets/ScoreWidget/render.png
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
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.