-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improve package structure, refactor Manage Symptoms Screen (#204)
* Move files into packages * cleanup * Use ViewModel * Don't close database. If parallel requests to the database are ongoing, closing the db results in crashes * add todos * Improve fab height consistency, cleanup * Fix wrong insets * Use shapes, extract constant * Extract item * Introduce UiAction class to enable previewing of composables * Move some other files * Only allow symptom creation when name is specified * Remove db.close calls * Cleanup * Cleanup
- Loading branch information
1 parent
bdd54a9
commit e096295
Showing
35 changed files
with
608 additions
and
471 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
275 changes: 0 additions & 275 deletions
275
app/src/main/java/com/mensinator/app/ManageSymptomScreen.kt
This file was deleted.
Oops, something went wrong.
2 changes: 1 addition & 1 deletion
2
.../com/mensinator/app/CalculationsHelper.kt → ...inator/app/business/CalculationsHelper.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
2 changes: 1 addition & 1 deletion
2
.../java/com/mensinator/app/DatabaseUtils.kt → .../mensinator/app/business/DatabaseUtils.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,4 +1,4 @@ | ||
package com.mensinator.app | ||
package com.mensinator.app.business | ||
|
||
import android.database.sqlite.SQLiteDatabase | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...n/java/com/mensinator/app/ExportImport.kt → ...m/mensinator/app/business/ExportImport.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
2 changes: 1 addition & 1 deletion
2
...com/mensinator/app/ICalculationsHelper.kt → ...nator/app/business/ICalculationsHelper.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,4 +1,4 @@ | ||
package com.mensinator.app | ||
package com.mensinator.app.business | ||
|
||
import java.time.LocalDate | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
.../java/com/mensinator/app/IExportImport.kt → .../mensinator/app/business/IExportImport.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
2 changes: 1 addition & 1 deletion
2
.../mensinator/app/INotificationScheduler.kt → ...or/app/business/INotificationScheduler.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,4 +1,4 @@ | ||
package com.mensinator.app | ||
package com.mensinator.app.business | ||
|
||
import java.time.LocalDate | ||
|
||
|
2 changes: 1 addition & 1 deletion
2
...om/mensinator/app/IOvulationPrediction.kt → ...ator/app/business/IOvulationPrediction.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,4 +1,4 @@ | ||
package com.mensinator.app | ||
package com.mensinator.app.business | ||
|
||
import java.time.LocalDate | ||
|
||
|
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
2 changes: 1 addition & 1 deletion
2
...a/com/mensinator/app/IPeriodPrediction.kt → ...sinator/app/business/IPeriodPrediction.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,4 +1,4 @@ | ||
package com.mensinator.app | ||
package com.mensinator.app.business | ||
|
||
import java.time.LocalDate | ||
|
||
|
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
2 changes: 1 addition & 1 deletion
2
...com/mensinator/app/OvulationPrediction.kt → ...nator/app/business/OvulationPrediction.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
Oops, something went wrong.