날씨는 맑음

  • 홈
  • 태그
  • 방명록

DialogFragment 1

Android Studio에서 DialogFragment.show() 호출시 Can not perform this action after onSaveInstanceState 에러 with Kotiln

MainActivity에서 DialogFragment를 상속받은 DectionChooser라는 클래스를 만들고 DetectionChooser().show(supportFragmentManager, "") 라고 호출 했더니 IllegalStateException: Can not perform this action after onSaveInstanceState 라는 에러가 발생했다. 전에도 이와 비슷한 에러가 발생한 적이 있는데 dismiss()를 호출하니까 같은 에러가 발생했었다. 이때는 구글링 해보니 dismissAllowingStateLoss()라는 함수를 호출해주면 간단히 해결 되었다. 그래서 showAllowingStateLoss()라는 함수가 있을꺼 같아서 찾아보니 없다. 그래서 구글링을 하다가 ..

Android Studio with Kotlin 2020.03.11
1
더보기
프로필사진

일상, 개발 등 자유로운 주제로 채워나가는 블로그입니다.

  • 분류 전체보기
    • 일기
    • Android Studio with Kotlin
    • 자료구조 and 알고리즘
    • Socket
    • Network
    • Spring

Tag

public ip, 기본 게이트웨이, 백준 #알고리즘 # 2920번 #음계, onSaveInstanceState, Spring Security, Internet Protocol, commitAllowingStateLoss, 디폴트 게이트웨이, 서브넷 마스크, bcrypt, DialogFragment, 네트워크, 공용 IP, Cisco Packet Tracer, 포트 포워딩, IP, 사설 IP, 소켓 프로그래밍, IP 주소, IPv4,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/07   »
일 월 화 수 목 금 토
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 © Kakao Corp. All rights reserved.

티스토리툴바