-
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.
[0.2.0.alpha/AN_FEAT] 포켓몬 상세에서 정보 화면, id(Long -> String) (#240)
* chore: 포켓몬 상세 탭 타이틀을 string-array 로 한다 * chore: strings 리소스에 dex 를 pokemon_list 와 detail 로 * feat: 포켓몬 상세에서 필요한 데이터 정의 * feat: 포켓몬 상세에서 필요한 데이터 바이옴 추가 * feat: 데이터 레이어 Biome 추가 * feat: 포켓몬 상세 정보에서 바이옴 정보 item UI * feat: 포켓몬 상세 정보에서 바이옴 뷰 홀더 * feat: 포켓몬 상세 정보 프래그먼트 ui xml * feat: 포켓몬 상세 정보에서 바이옴 어댑터 * feat: 포켓몬 상세 뷰모델에 바이옴 상세로 네비게이션하는 이벤트 추가 * feat: 바이옴 상세 액티비티 동반 객체에 intent 추가 * feat(PokemonInformationFragment): 포켓몬 상세 액티비티 뷰모델, 어댑터 연결 * feat(PokemonDetailActivity): 포켓몬 상세에서 바이옴 상세로 네비게이션 * fix(Biome): 바이옴 이미지 url 변경 * feat(PokemonInformationFragmen): 바이옴 라사이클러뷰에 데코레이션 * feat: 바이옴 타이틀과 바이옴 아이템 사이 구분선 추가 * feat(NewPokemon,NewPokemonUiModel): id 를 Long -> String * feat presentation layer 에 NewPokeMonUiModel 적용 * feat(DexRepository): 포켓몬 리스트 리턴을 NewPokemon 으로 * feat(DexDataSource): 포켓몬 리스트 리턴을 NewPokemon 으로 * feat(NewPokemonDetail, NewAbility): response 에서 데이터로 * feat(DexRepository,RemoteDexDataSource.kt) 에서 데이터를 NewPokemonDetail 로 * feat(AbilityDetail): NewPokemon 리스트로 * refactor: 포켓몬 상세 액티비티 뷰모델에서 pokemonId 는 String * feat: PokemonSkill 의 클래스 변경됨 * feat: 포켓몬 특성 id 를 Long -> String 으로 * refactor: Ability 의 id 를 Long -> String - issue: 포켓몬 상세에서 특성 상세로 이동 시 예외 * refactor: 포켓몬 상세에서 특성 상세로 이동하도록 한다 - 이전 커밋(80872b6) 이슈 해결 * chore: ktlint * refactor: NewPokemon -> Pokemon * refactor: NewSKill -> PokemonSkill * refactor: NewPokemonDetail -> PokemonDetail * chore: 네이밍 NewPokemonSKills -> PokemonDetailSkills * refactor: NewAbility -> PokemonDetailAbility * refactor: id: Long 을 모두 id: String 로 변경 * fix(data/unitTest): id 값을 String 으로 * fix: 특성 상세 프래그먼트에서 bundle 이 null 일 때 처리 * fix: Pokemon 클래스의 더미데이터 복구 * chore: 포켓몬 상세 특성 ui model 네이밍 변경 * feat: 기술머신으로 배우는 PokemonSkill 리스트 추가 * test: data 레이어의 모델의 id String 으로 * chore: ktlint * refactor: getStringArrayOf 를 확장 유틸함수로 --------- Co-authored-by: sh1mj1 <[email protected]>
- Loading branch information
Showing
64 changed files
with
903 additions
and
412 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
2 changes: 1 addition & 1 deletion
2
android/app/src/main/java/poke/rogue/helper/presentation/ability/AbilityUiEventHandler.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,5 +1,5 @@ | ||
package poke.rogue.helper.presentation.ability | ||
|
||
interface AbilityUiEventHandler { | ||
fun navigateToDetail(abilityId: Long) | ||
fun navigateToDetail(abilityId: String) | ||
} |
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
2 changes: 1 addition & 1 deletion
2
...rc/main/java/poke/rogue/helper/presentation/ability/detail/AbilityDetailUiEventHandler.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,7 +1,7 @@ | ||
package poke.rogue.helper.presentation.ability.detail | ||
|
||
interface AbilityDetailUiEventHandler { | ||
fun navigateToPokemonDetail(pokemonId: Long) | ||
fun navigateToPokemonDetail(pokemonId: String) | ||
|
||
fun navigateToHome() | ||
} |
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
2 changes: 1 addition & 1 deletion
2
android/app/src/main/java/poke/rogue/helper/presentation/biome/BiomeUiEventHandler.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,5 +1,5 @@ | ||
package poke.rogue.helper.presentation.biome | ||
|
||
interface BiomeUiEventHandler { | ||
fun navigateToDetail(biomeId: Long) | ||
fun navigateToDetail(biomeId: String) | ||
} |
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.