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
@SuppressLint("CoroutineCreationDuringComposition", "UnnecessaryComposedModifier") | |
@Composable | |
fun Modifier.onExpose( | |
onVisibilityChanged: (Boolean) -> Unit, | |
exposeCriteriaSizeRate: Float = 1f, | |
): Modifier = composed { | |
this.onGloballyPositioned { layoutCoordinates -> | |
val boundsInWindow = layoutCoordinates.boundsInWindow() | |
val totalArea = layoutCoordinates.size.run { width * height }.toFloat() | |
val visibleArea = boundsInWindow.width * boundsInWindow.height |
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
{ | |
"data":{ | |
"recommandUpdateVersion" : "1.0.5", | |
"forceUpdateVersion" : "1.0.2", | |
"loggingSheetUrl":"19VAa-lorpfCz0GMrJT_RHTJtygiBwYnN65bnKw3FKoU", | |
"renderTrackingSheetUrl":"19VAa-lorpfCz0GMrJT_RHTJtygiBwYnN65bnKw3FKoU" | |
} | |
} |
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
{ | |
"responseData" : { | |
"screenName":"Home", | |
"viewContents" : [ | |
{ | |
"viewType" : "cashPromotionViewType", | |
"content" : { | |
"promotions" : [ | |
{ | |
"richContents" : [ |
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
{ | |
"responseData" : { | |
"screenName":"Home", | |
"viewContents" : [ | |
{ | |
"viewType" : "cashPromotionViewType", | |
"content" : { | |
"promotions" : [ | |
{ | |
"startIcon" : { |
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
{ | |
"responseData" : { | |
"screenName":"Home", | |
"viewContents" : [ | |
{ | |
"viewType" : "BigCarouselViewType", | |
"content" : { | |
"items": [ | |
{ | |
"primaryText" : "06:00", |
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
{ | |
"responseData" : { | |
"screenName":"Home", | |
"viewContents" : [ | |
{ | |
"viewType" : "oneDayWeatherViewType", | |
"content" : { | |
"primaryTitle" : "April 3 (Mon) 14", | |
"centerImgUrl" : "https://res.swm.com/2x/clear-sky.png", | |
"primaryContentText" : "Clear Sky", |
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
/* | |
MyApp/ | |
├── A/ | |
│ └── Sources/ | |
│ └── A.swift | |
├── B/ | |
│ ├── Sources/ | |
│ │ └── B.swift | |
│ └── TuistDependencies.swift | |
└── C/ |
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
/** | |
* Definition for a binary tree node. | |
* public class TreeNode { | |
* int val; | |
* TreeNode left; | |
* TreeNode right; | |
* TreeNode(int x) { val = x; } | |
* } | |
*/ | |
class Solution { |
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
#pragma warning(disable:4996) | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include <math.h> // sqrt 함수가 선언된 헤더 파일 | |
#define INF (1000000) | |
int V, E, K; |
NewerOlder