generated from GO-SOPT-ANDROID/android-template
-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature/week6 2 #10
Merged
Merged
Feature/week6 2 #10
Changes from all commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
49fd5e7
[Add/#9] 6주차 실습
gaeun5744 981c05d
[Add] Util에 Toast Message 확장함수 추가
gaeun5744 f542f1b
[Add] MyProfileFragment 생성
gaeun5744 cd01618
[Add] 정보 조회 Dto 및 Service 생성
gaeun5744 5ec9d22
[Add] menu에 MyProfileFragment 추가
gaeun5744 d808b5e
[Rename] 파일 이름 수정
gaeun5744 c775524
[Refactor] activity_introduce -> fragment_my_profile로 옮기기
gaeun5744 b053036
[Fix] 화면전환 수정
gaeun5744 d6fc20c
[Add] myProfile 통신 연결
gaeun5744 f7d5a9a
[Refactor] 파일 구조 리팩토링
gaeun5744 efe5ea6
[Refactor] service 구조 리팩토링
gaeun5744 223fabc
[Delete] 불필요한 activity 제거
gaeun5744 4ee8105
[Feature/#9] ViewModel 적용
gaeun5744 5e03e88
[Feature/#9] 조건 미충족시 경고문구 띄우기
gaeun5744 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,9 +4,10 @@ import androidx.appcompat.app.AppCompatActivity | |
import android.os.Bundle | ||
import androidx.fragment.app.Fragment | ||
import org.android.go.sopt.databinding.ActivityMainBinding | ||
import org.android.go.sopt.present.GalleryFragment | ||
import org.android.go.sopt.present.HomeFragment | ||
import org.android.go.sopt.present.SearchFragment | ||
import org.android.go.sopt.present.menuFragment.GalleryFragment | ||
import org.android.go.sopt.present.menuFragment.HomeFragment | ||
import org.android.go.sopt.present.menuFragment.MyProfileFragment | ||
import org.android.go.sopt.present.menuFragment.SearchFragment | ||
|
||
class MainActivity : AppCompatActivity() { | ||
private lateinit var binding: ActivityMainBinding | ||
|
@@ -44,6 +45,10 @@ class MainActivity : AppCompatActivity() { | |
changeFragment(GalleryFragment()) | ||
return@setOnItemSelectedListener true | ||
} | ||
R.id.menu_profile -> { | ||
changeFragment(MyProfileFragment()) | ||
return@setOnItemSelectedListener true | ||
} | ||
Comment on lines
45
to
+51
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 요렇게 로직을 구현할 경우 Fragment 객체를 매번 생성해야 할 것 같아요! |
||
else -> { | ||
false | ||
} | ||
|
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
package org.android.go.sopt.data | ||
|
||
import android.os.Parcelable | ||
import kotlinx.parcelize.Parcelize | ||
|
||
@Parcelize | ||
data class User( | ||
val id : String, | ||
val pw : String, | ||
val name : String, | ||
val feature : String | ||
):Parcelable |
47 changes: 0 additions & 47 deletions
47
app/src/main/java/org/android/go/sopt/myPage/IntroduceActivity.kt
This file was deleted.
Oops, something went wrong.
141 changes: 0 additions & 141 deletions
141
app/src/main/java/org/android/go/sopt/myPage/LoginActivity.kt
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
사소한 거지만 > 대신 />로 닫아도 될 것 같네요 !