if (study)


Mac에서 Flutter 설치 & 환경변수 설정하기 먼저 공식 사이트에서 SDK zip 파일을 다운로드 받고 압축을 해제한다. (Flutter SDK release) Flutter SDK releases All current Flutter SDK releases, both stable, dev, and master. flutter.dev 내가 압축을 해제한 파일 경로 : /Users/yunji/Downloads/flutter 다운받은 sdk에 대한 환경 변수 설정을 해주자. (Update your path 참고) cd ~ vi .bash_profile base_profile 파일에 아래의 export문을 추가하자 export PATH=$PATH:[flutter 폴더 경로]/flutter/bin 다시 터미..

MotionLayout이 적용되는 계층에 있는 모든 View엔 android:visibility 속성이 적용되지 않는다. Turns out this was my inexperience with how MotionLayout works. By default MotionLayout controls the visibility of all views within it. But you can opt out child views by using the app:visibilityMode="ignore" attribute and defining the view in the 해결방법은 크게 두가지 MotionLayout 내부에 새로운 ViewGroup 계층을 만들어서 그 하위 View로 집어넣기 또는 MotionScen..

상황 설명 스크롤뷰 안에 지도가 들어갈 경우, 지도를 상하 방향으로 움직일 때 스크롤뷰 쪽의 이벤트 우선순위가 높아서 지도는 안움직이고 화면 스크롤이 됨 예제는 네이버 지도를 사용했지만 네이버, 구글, 카카오 상관없이 적용 가능한 코드임 맵 클릭 이벤트를 구현할 인터페이스를 추가한다. interface OnMapTouchListener { fun onTouch() } 스크롤 뷰에대한 터치 이벤트를 재정의할 수 있도록 FrameLayout을 상속받은 TouchableWrapper 클래스를 추가한다. class TouchableWrapper @JvmOverloads constructor( context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = ..

난독화시 Line Number 정보가 보존되도록 proguard-rules.pro에 다음 설정을 추가한다. # Preserve annotations, line numbers, and source file names -keepattributes *Annotation*,SourceFile,LineNumberTable 참고 - https://yous.be/2014/05/15/how-to-configure-proguard-using-gradle/ gradle 설정