feat: Pull to Refresh 민감도 대폭 향상 (v1.10.0)
- positionalThreshold를 60dp에서 40dp로 축소 (기본값의 1/3) - 새로고침이 훨씬 쉽고 직관적으로 작동 - 사용자 경험 개선 - 가벼운 스와이프로도 새로고침 가능
This commit is contained in:
@@ -24,8 +24,8 @@ android {
|
|||||||
applicationId = "com.hotdeal.alarm"
|
applicationId = "com.hotdeal.alarm"
|
||||||
minSdk = 31
|
minSdk = 31
|
||||||
targetSdk = 35
|
targetSdk = 35
|
||||||
versionCode = 15
|
versionCode = 16
|
||||||
versionName = "1.9.0"
|
versionName = "1.10.0"
|
||||||
|
|
||||||
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
|
||||||
vectorDrawables {
|
vectorDrawables {
|
||||||
|
|||||||
@@ -46,9 +46,9 @@ fun DealListScreen(
|
|||||||
val uiState by viewModel.uiState.collectAsStateWithLifecycle()
|
val uiState by viewModel.uiState.collectAsStateWithLifecycle()
|
||||||
val context = LocalContext.current
|
val context = LocalContext.current
|
||||||
|
|
||||||
// Pull to Refresh 상태 - 감도 증가를 위해 threshold 값 감소
|
// Pull to Refresh 상태 - 민감도 대폭 향상
|
||||||
val pullToRefreshState = rememberPullToRefreshState(
|
val pullToRefreshState = rememberPullToRefreshState(
|
||||||
positionalThreshold = 60.dp // 기본값(120.dp)의 절반으로 설정하여 더 쉽게 새로고침
|
positionalThreshold = 40.dp // 기본값의 1/3로 설정하여 매우 쉽게 새로고침
|
||||||
)
|
)
|
||||||
var isRefreshing by remember { mutableStateOf(false) }
|
var isRefreshing by remember { mutableStateOf(false) }
|
||||||
|
|
||||||
|
|||||||
10
version.json
10
version.json
@@ -1,14 +1,12 @@
|
|||||||
{
|
{
|
||||||
"version": "1.9.0",
|
"version": "1.10.0",
|
||||||
"versionCode": 15,
|
"versionCode": 16,
|
||||||
"minSdk": 31,
|
"minSdk": 31,
|
||||||
"targetSdk": 35,
|
"targetSdk": 35,
|
||||||
"forceUpdate": false,
|
"forceUpdate": false,
|
||||||
"updateUrl": "https://git.webpluss.net/attachments/c033eeb6-a8fd-4402-9d3a-adaa1226664b",
|
"updateUrl": "https://git.webpluss.net/attachments/c033eeb6-a8fd-4402-9d3a-adaa1226664b",
|
||||||
"changelog": [
|
"changelog": [
|
||||||
"EdgeToEdge 색상 개선 - 시스템 바가 앱 테마와 일치",
|
"Pull to Refresh 민감도 대폭 향상 - 1/3 거리로 조정",
|
||||||
"화면 공간 최적화 - 불필요한 패딩 제거",
|
"새로고침이 훨씬 쉽고 빠르게 작동"
|
||||||
"TopAppBar가 시스템 바 영역까지 확장",
|
|
||||||
"하단 네비게이션 영역 패딩 최적화"
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user