Skip to content

Commit

Permalink
feat: 대학교 이미지를 디폴트 값으로 변경한다
Browse files Browse the repository at this point in the history
  • Loading branch information
SeongHoonC committed May 20, 2024
1 parent 3c69967 commit 6e9de31
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@ class SchoolDetailFragment : Fragment() {

private fun loadSchoolDetail() {
binding.tvSchoolName.text = args.school.name
binding.ivSchoolLogoImage.setImage(args.school.profileImageUrl)
val delayTimeMillis = resources.getInteger(R.integer.nav_Anim_time).toLong()
vm.loadSchoolDetail(args.school.id, delayTimeMillis)
}
Expand All @@ -97,7 +96,6 @@ class SchoolDetailFragment : Fragment() {
binding.successUiState = uiState
binding.ivBookmark.isSelected = uiState.bookmarked
binding.tvSchoolName.text = uiState.schoolInfo.schoolName
binding.ivSchoolLogoImage.setImage(uiState.schoolInfo.logoUrl)
val items: List<Any> = if (uiState.isLast) {
uiState.festivals
} else {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,11 @@

<ImageView
android:id="@+id/ivFestivalImage"
imageUrl="@{school.imageUrl}"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:contentDescription="@string/festival_list_iv_image"
android:scaleType="centerCrop"
tools:src="@color/background_gray_03" />
android:src="@drawable/img_default_school" />
</androidx.cardview.widget.CardView>

<TextView
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -90,12 +90,15 @@
style="@style/B2Medium14Lh20"
android:layout_width="wrap_content"
android:layout_height="wrap_content"
android:text="@string/search_artist_tv_no_plan"
android:layout_marginTop="8dp"
android:layout_marginBottom="16dp"
android:includeFontPadding="false"
android:text="@string/search_artist_tv_no_plan"
android:textColor="@color/contents_gray_05"
app:layout_constraintBottom_toBottomOf="@id/tvTodayStageCount"
app:layout_constraintStart_toEndOf="@id/tvTodayStageCount"
app:layout_constraintTop_toTopOf="@id/tvTodayStageCount" />
app:layout_constraintBottom_toBottomOf="parent"

app:layout_constraintStart_toStartOf="@+id/tvArtistName"
app:layout_constraintTop_toBottomOf="@+id/tvArtistName" />

</androidx.constraintlayout.widget.ConstraintLayout>
</layout>
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@

<ImageView
android:id="@+id/ivSchoolLogoImage"
imageUrl="@{item.logoUrl}"
android:layout_width="match_parent"
android:layout_height="match_parent"
android:importantForAccessibility="no"
android:scaleType="centerCrop"
tools:src="@drawable/ic_launcher_foreground" />
android:src="@drawable/img_default_school"
tools:src="@drawable/img_default_school" />
</androidx.cardview.widget.CardView>

<TextView
Expand Down

0 comments on commit 6e9de31

Please sign in to comment.