오디션, 오디션 상세
- 오디션 리스트, 오디션 캐릭터 리스트 아이템 사이 간격 16.7 -> 25로 변경
This commit is contained in:
parent
9cafb13b50
commit
20b627202e
|
@ -35,8 +35,8 @@ android {
|
||||||
applicationId "kr.co.vividnext.sodalive"
|
applicationId "kr.co.vividnext.sodalive"
|
||||||
minSdk 23
|
minSdk 23
|
||||||
targetSdk 34
|
targetSdk 34
|
||||||
versionCode 131
|
versionCode 132
|
||||||
versionName "1.25.0"
|
versionName "1.26.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
buildTypes {
|
buildTypes {
|
||||||
|
|
|
@ -62,17 +62,17 @@ class AuditionFragment : BaseFragment<FragmentAuditionBinding>(
|
||||||
when (parent.getChildAdapterPosition(view)) {
|
when (parent.getChildAdapterPosition(view)) {
|
||||||
0 -> {
|
0 -> {
|
||||||
outRect.top = 0
|
outRect.top = 0
|
||||||
outRect.bottom = 8.3f.dpToPx().toInt()
|
outRect.bottom = 12.5f.dpToPx().toInt()
|
||||||
}
|
}
|
||||||
|
|
||||||
adapter.itemCount - 1 -> {
|
adapter.itemCount - 1 -> {
|
||||||
outRect.top = 8.3f.dpToPx().toInt()
|
outRect.top = 12.5f.dpToPx().toInt()
|
||||||
outRect.bottom = 0
|
outRect.bottom = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
else -> {
|
else -> {
|
||||||
outRect.top = 8.3f.dpToPx().toInt()
|
outRect.top = 12.5f.dpToPx().toInt()
|
||||||
outRect.bottom = 8.3f.dpToPx().toInt()
|
outRect.bottom = 12.5f.dpToPx().toInt()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -105,17 +105,17 @@ class AuditionDetailActivity : BaseActivity<ActivityAuditionDetailBinding>(
|
||||||
when (parent.getChildAdapterPosition(view)) {
|
when (parent.getChildAdapterPosition(view)) {
|
||||||
0 -> {
|
0 -> {
|
||||||
outRect.top = 0
|
outRect.top = 0
|
||||||
outRect.bottom = 7.5f.dpToPx().toInt()
|
outRect.bottom = 12.5f.dpToPx().toInt()
|
||||||
}
|
}
|
||||||
|
|
||||||
adapter.itemCount - 1 -> {
|
adapter.itemCount - 1 -> {
|
||||||
outRect.top = 7.5f.dpToPx().toInt()
|
outRect.top = 12.5f.dpToPx().toInt()
|
||||||
outRect.bottom = 0
|
outRect.bottom = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
else -> {
|
else -> {
|
||||||
outRect.top = 7.5f.dpToPx().toInt()
|
outRect.top = 12.5f.dpToPx().toInt()
|
||||||
outRect.bottom = 7.5f.dpToPx().toInt()
|
outRect.bottom = 12.5f.dpToPx().toInt()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -138,6 +138,7 @@ class AuditionRoleDetailViewModel(private val repository: AuditionRepository) :
|
||||||
}
|
}
|
||||||
|
|
||||||
fun getAuditionApplicantList() {
|
fun getAuditionApplicantList() {
|
||||||
|
if (!_isLoading.value!! && !isLast) {
|
||||||
_isLoading.value = true
|
_isLoading.value = true
|
||||||
|
|
||||||
compositeDisposable.add(
|
compositeDisposable.add(
|
||||||
|
@ -181,6 +182,7 @@ class AuditionRoleDetailViewModel(private val repository: AuditionRepository) :
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
fun applyAudition(auditionRoleId: Long, phoneNumber: String, onSuccess: () -> Unit) {
|
fun applyAudition(auditionRoleId: Long, phoneNumber: String, onSuccess: () -> Unit) {
|
||||||
if (audioFile == null) {
|
if (audioFile == null) {
|
||||||
|
|
|
@ -9,7 +9,7 @@
|
||||||
android:id="@+id/divider"
|
android:id="@+id/divider"
|
||||||
android:layout_width="0dp"
|
android:layout_width="0dp"
|
||||||
android:layout_height="6.7dp"
|
android:layout_height="6.7dp"
|
||||||
android:layout_marginTop="13.3dp"
|
android:layout_marginTop="5dp"
|
||||||
android:background="@color/color_232323"
|
android:background="@color/color_232323"
|
||||||
app:layout_constraintEnd_toEndOf="parent"
|
app:layout_constraintEnd_toEndOf="parent"
|
||||||
app:layout_constraintStart_toStartOf="parent"
|
app:layout_constraintStart_toStartOf="parent"
|
||||||
|
|
Loading…
Reference in New Issue