요기에 기록하고 내 머릿속에서 삭제

  • 홈
  • 태그
  • 미디어로그
  • 위치로그
  • 방명록

2026/01/08 2

레거시 코드 리팩토링 ( AlertDialog )

AlertDialog 를 확장한 함수 형태로 사용하니FirebaseCrashlytics에 BadTokenException 이 계속 리폿되는데 이 현상을 해결하기 위해 DialogFragment 로 리팩토링이 필요함 아래가 레거시 코드typealias OnClickListener = (() -> Unit)class BVAlertDialog(context: Context) : AlertDialog(context, R.style.Dialog_Alert) { private val viewDataBinding: FragmentAlertBinding = DataBindingUtil.inflate(layoutInflater, R.layout.fragment_alert, null, false) ..

Android 2026.01.08

레거시 프로젝트 빌드

https://github.com/android/user-interface-samples 레거시 프로젝트를 현재 최신 안드로이드 버전에서 빌드하기 위해 세팅 값 정리 build.gradle ( project) /*buildscript { ext.kotlin_version = "1.6.21" repositories { google() mavenCentral() } dependencies { classpath 'com.android.tools.build:gradle:7.2.2' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version" }}*/-> 아래와 같이 수..

Android 2026.01.08
이전
1
다음
더보기
프로필사진

요기에 기록하고 내 머릿속에서 삭제

  • 분류 전체보기
    • Android
    • 프로젝트
    • 웹
    • 기타
    • DB

Tag

초대장,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2026/01   »
일 월 화 수 목 금 토
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 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © AXZ Corp. All rights reserved.

티스토리툴바