-
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 #64 from SOPT-all/feat/ui-add-study
[feat] add study와 split study UI 구현
- Loading branch information
Showing
29 changed files
with
2,250 additions
and
30 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
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
18 changes: 18 additions & 0 deletions
18
app/src/main/java/org/android/bbangzip/presentation/model/AddStudyData.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,18 @@ | ||
package org.android.bbangzip.presentation.model | ||
|
||
import android.os.Parcelable | ||
import kotlinx.parcelize.Parcelize | ||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
@Parcelize | ||
data class AddStudyData( | ||
val subjectName: String, | ||
val pieceNumber: Int, | ||
val examDate: String, | ||
val studyContent: String, | ||
val startPage: String, | ||
val endPage: String, | ||
val startPageList: List<String>, | ||
val endPageList: List<String>, | ||
) : Parcelable |
21 changes: 21 additions & 0 deletions
21
app/src/main/java/org/android/bbangzip/presentation/model/SplitStudyData.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,21 @@ | ||
package org.android.bbangzip.presentation.model | ||
|
||
import android.os.Parcelable | ||
import kotlinx.parcelize.Parcelize | ||
import kotlinx.serialization.Serializable | ||
import org.android.bbangzip.presentation.type.AddStudyViewType | ||
|
||
@Serializable | ||
@Parcelize | ||
data class SplitStudyData( | ||
val subjectName: String, | ||
val pieceNumber: Int, | ||
val examDate: String, | ||
val studyContent: String, | ||
val startPage: String, | ||
val endPage: String, | ||
val startPageList: List<String>, | ||
val endPageList: List<String>, | ||
val deadLineList: List<String>, | ||
val addStudyViewType: AddStudyViewType, | ||
) : Parcelable |
9 changes: 9 additions & 0 deletions
9
app/src/main/java/org/android/bbangzip/presentation/type/AddStudyViewType.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,9 @@ | ||
package org.android.bbangzip.presentation.type | ||
|
||
import kotlinx.serialization.Serializable | ||
|
||
@Serializable | ||
enum class AddStudyViewType { | ||
DEFAULT, | ||
AGAIN, | ||
} |
6 changes: 6 additions & 0 deletions
6
app/src/main/java/org/android/bbangzip/presentation/type/ShortTextFieldType.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 org.android.bbangzip.presentation.type | ||
|
||
enum class ShortTextFieldType { | ||
LEFT, | ||
RIGHT, | ||
} |
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.