Android
-
This version of Android Studio cannot open this project, please retry with Android Studio x.0 or newer.Android 2020. 6. 1. 16:45
This version of Android Studio cannot open this project, please retry with Android Studio x.0 or newer. 해당 프로젝트는 x.0버전 이상의 안드로이드 스튜디오에서 실행할 수 있다는 메시지이다. 안드로이드 스튜디오를 업데이트 해야한다. Help -> Check for Updates
-
Could not find method leftShift() for arguments after updating studio 3.4Android 2020. 5. 7. 16:55
for task definitions no longer works. In other words, you can not use the syntax task myTask . Use the Task.doLast() method instead, like this: task myTask { doLast { ... ... }} ref : www.stackoverflow.com/a/55793096
-
안드로이드 버튼 중복 클릭 막기Android 2019. 1. 3. 15:58
ref : https://stackoverflow.com/questions/5608720/android-preventing-double-click-on-a-button 같은 방법이지만 좀 더 편하게 사용하려면 아래처럼 class를 만든 후 사용하자. Kotlin Extension method & High order function import android.os.SystemClock import android.view.View class OneClickListener(private var interval: Int=1000, private var onOneClick: (View) -> Unit) : View.OnClickListener { private var lastClick : Long = 0 over..