본문 바로가기 메뉴 바로가기

코드생성기

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

코드생성기

검색하기 폼
  • 분류 전체보기 (66)
    • 알고리즘 (3)
      • JAVA (3)
    • 안드로이드 (54)
      • JAVA (10)
      • 코틀린 (20)
      • XML (11)
      • compose (6)
    • IOS (2)
    • 플러터(Flutter) (1)
    • 유니티 (1)
    • FTP (1)
    • GIT (1)
  • 방명록

분류 전체보기 (66)
[Android Studio]이중 스크롤 (스크롤 안에 리사이클러뷰) 터치 대응 Double scroll view touch, scrollview in horizontal recyclerview

[Android Studio]이중 스크롤 (스크롤 안에 리사이클러뷰) 터치 대응 Double scroll view touch, scrollview in horizontal recyclerview 1. 화면 구성 NestedScrollView 안의 Horizontal 형태의 recyclerview 속성에 nestedScrollingEnabled="false"를 추가한다.

안드로이드/XML 2021. 4. 24. 06:54
[Android Studio]Glide와 Picasso 라이브러리 이미지 주소로 불러오기 library image load to uri

[Android Studio]Glide와 Picasso 라이브러리 이미지 주소로 불러오기 library image load to uri 1. Glide (최신버전 해당 라이브러리 사이트 참고) https://github.com/bumptech/glide bumptech/glide An image loading and caching library for Android focused on smooth scrolling - bumptech/glide github.com 1-1 build.gradle 작성 dependencies { implementation 'com.github.bumptech.glide:glide:4.12.0' annotationProcessor 'com.github.bumptech.glid..

안드로이드/코틀린 2021. 4. 23. 06:31
[Android Studio]Response<ResponseBody> JSON 결과값 받기 코틀린 return response kotlin

[Android Studio]Response JSON 결과값 받기 코틀린 return response kotlin open fun response_ui(response: Response){ //JSON 형태의 문자열 타입 val str = response.body()!!.string() as String try{ val jsonArray = JSONArray(str) for (i in 0 until jsonArray.length()){ val jsonObject = jsonArray.getJSONObject(i) Log.d("field value => ",jsonObject.get("filed_name").toString()) } }catch (e: Exception){ e.printStackTrace(..

안드로이드/코틀린 2021. 4. 22. 00:13
[Android Studio] 함수(메서드)를 매개변수로 사용하기 코틀린 function(method) to parameter kotlin

[Android Studio] 함수(메서드)를 매개변수로 사용하기 코틀린 function(method) to parameter kotlin //메인 함수에서 호출 fun main(){ method_to_parameter(context, ::showLog) } //이후 실행시킬 함수를 파라미터로 받음 fun method_to_parameter(context: Context, method: (response: String) -> Unit){ method("example") } //결과 함수 fun showLog(str: String){ val TAG = "showLog" Log.d(TAG, str) }

안드로이드/코틀린 2021. 4. 21. 20:58
[Android Studio] 코틀린에서 static 변수 사용하기 static variable to kotlin

[Android Studio] 코틀린에서 static 변수 사용하기 static variable to kotlin 1. Java -> Kotlin public class DM{ public static int index = 100; } public class CM{ private int number = DM.index; } class DM { companion object { val index = 100 } } class CM { val number = DM.index } companion object는 자바의 static과 완전 동일한 것은 아니지만 비슷한 형태를 가지고있다. 필요 시에 자바의 static과 같이 사용할 수 있다

안드로이드/코틀린 2021. 4. 20. 21:02
[Android Studio] 코틀린 클래스 오버로딩 커스텀뷰 Class Overloading Constructor Kotlin

[Android Studio] 코틀린 클래스 오버로딩 커스텀뷰 Class Overloading Constructor Kotlin 1. Java -> Kotlin public class Pen extends View{ public Pen(Context context) { super(context); init(context); } public Pen(Context context, @Nullable AttributeSet attrs) { super(context, attrs); init(context); } public Pen(Context context, @Nullable AttributeSet attrs, int defStyleAttr) { super(context, attrs, defStyleAttr);..

안드로이드/코틀린 2021. 4. 19. 20:29
[Android studio] 나만의 커스텀뷰 만들기 코틀린 Create CustomView Kotlin

[Android studio] 나만의 커스텀뷰 만들기 코틀린 Create CustomView Kotlin 1. res -> values -> atts.xml 생성 후 속성 데이터 작성 2. res -> layout -> layout_customview.xml 커스텀뷰 레이아웃 작성 3. CustomView 클래스 작성 open class CustomView(context: Context, attrs: AttributeSet) : ConstraintLayout(context, attrs){ private var textTitle: TextView private var textContent: TextView init { val v = View.inflate(context, R.layout.layout_cus..

안드로이드/코틀린 2021. 4. 18. 05:11
[Android Studio] 안드로이드 스튜디오 시스템 배경색 변경하기 Set System Default BackgroundColor

[Android Studio] 안드로이드 스튜디오 시스템 배경색 변경하기 Set System Default BackgroundColor 1. App Theme Style에서 windowBackground 설정 2. Application 설정

안드로이드/XML 2021. 4. 17. 03:57
이전 1 2 3 4 5 6 7 8 9 다음
이전 다음
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
링크
TAG
  • 깃랩에서 깃허브로
  • non-zero exit code detected
  • 라이브러리 라이센스
  • 깃허브에서 깃랩으로
  • 코틀린
  • gitlab mirror
  • github mirror
  • 깃허브 잔디 옮기기
  • react native 오픈소스 라이선스
  • 안드로이드 해시키
  • amplify next.js
  • react native oss
  • next.js ssr deploy
  • react.js useEffect
  • rn 오픈소스 라이센스
  • 깃랩 잔디 옮기기
  • next.js useEffect
  • rn oss
  • nextjs ssr deploy
  • 커밋 이메일 변경
  • Build failed because of webpack errors
  • 안드로이드 스튜디오 해시키
  • amplify build error
  • kakao api notworking
  • Android Studio
  • 카카오 해시키
  • 안드로이드 스튜디오
  • room error
  • next useEffect
  • kotlin
more
«   2025/09   »
일 월 화 수 목 금 토
1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30
글 보관함

Blog is powered by Tistory / Designed by Tistory

티스토리툴바