-
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.
Browse files
Browse the repository at this point in the history
[FIX/#191] 스프린트 4차 QA 반영
- Loading branch information
Showing
15 changed files
with
112 additions
and
49 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
4 changes: 3 additions & 1 deletion
4
core/data/src/main/java/com/teamkkumul/core/data/repository/MeetingsRepository.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,6 +1,8 @@ | ||
package com.teamkkumul.core.data.repository | ||
|
||
import com.teamkkumul.model.AddNewGroupModel | ||
|
||
interface MeetingsRepository { | ||
suspend fun addNewGroup(request: String): Result<String> | ||
suspend fun addNewGroup(request: String): Result<AddNewGroupModel> | ||
suspend fun enterInvitationCode(request: String): Result<Int> | ||
} |
6 changes: 4 additions & 2 deletions
6
core/data/src/main/java/com/teamkkumul/core/data/repositoryimpl/MeetingsRepositoryImpl.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
12 changes: 12 additions & 0 deletions
12
core/model/src/main/java/com/teamkkumul/model/AddNewGroupModel.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.teamkkumul.model | ||
|
||
import android.os.Parcelable | ||
import com.teamkkumul.model.type.ScreenType | ||
import kotlinx.parcelize.Parcelize | ||
|
||
@Parcelize | ||
data class AddNewGroupModel( | ||
val meetingId: Int, | ||
val invitationCode: String, | ||
val screenType: ScreenType? = null, | ||
) : Parcelable |
6 changes: 6 additions & 0 deletions
6
core/model/src/main/java/com/teamkkumul/model/type/ScreenType.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.teamkkumul.model.type | ||
|
||
enum class ScreenType { | ||
MY_GROUP_DETAIL, | ||
ADD_NEW_GROUP, | ||
} |
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
12 changes: 11 additions & 1 deletion
12
...re/src/main/java/com/teamkkumul/feature/newgroup/addmygroup/AddMyGroupCompleteFragment.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,15 +1,25 @@ | ||
package com.teamkkumul.feature.newgroup.addmygroup | ||
|
||
import androidx.core.os.bundleOf | ||
import androidx.navigation.fragment.findNavController | ||
import com.teamkkumul.core.ui.base.BindingFragment | ||
import com.teamkkumul.feature.R | ||
import com.teamkkumul.feature.databinding.FragmentAddMyGroupCompleteBinding | ||
import com.teamkkumul.feature.utils.KeyStorage.MEETING_ID | ||
|
||
class AddMyGroupCompleteFragment : | ||
BindingFragment<FragmentAddMyGroupCompleteBinding>(R.layout.fragment_add_my_group_complete) { | ||
|
||
private val meetingId: Int by lazy { | ||
requireArguments().getInt(MEETING_ID) | ||
} | ||
|
||
override fun initView() { | ||
binding.btnOkay.setOnClickListener { | ||
findNavController().navigate(R.id.action_fragment_add_my_group_complete_to_fragment_my_group) | ||
findNavController().navigate( | ||
R.id.action_fragment_add_my_group_complete_to_fragment_my_group_detail, | ||
bundleOf(MEETING_ID to meetingId) | ||
) | ||
} | ||
} | ||
} |
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
Oops, something went wrong.