분류 전체보기(229)
-
findViewById No Use : DataBinding 2020.01.17
-
RecyclerView 스크롤 막기
setlayoutfrozen, setNestedScrollingEnabled(false) adpater.notifyItemChanged함수가 작동하지 않았던상황.. 공부하던 중 setLayoutFrozen(true) prevents any updates to the UI such as changing images and even pauses events on the Layout such as scrolling. This also stops childviews from being updated as well. 라는 글을 발견하고 setNestedScrollingEnabled(false)를 발견하고 해결했다!
2020.01.15 -
overridePendingTransition
Intent.FLAG_ACTIVITY_REORDER_TO_FRONT 를 설정하게되면 startActivity(intent); overridePendingTransition(0,0); 코드가 처음에만 작동하고 다음 액티비티 전환시 백스택에있던 액티비티를 복구시키면서 애니매이션 효과제거가 되지 않음 해결책 onNewIntent에 overridePendingTransition적용 onResume에 적용 정확한 이유는 알아보려했지만 실패 ㅠㅠ
2020.01.15 -
체크박스 반대로 표시
checkBox.setChecked(!checkBox.isCheckced())
2020.01.06 -
html 기본속성
Value 서버 제출용 클라이언트 사이드에서 보이지 않는다 버튼 종류의 텍스트 변경 field의 초깃값 설정 placeholder와 같지만 사용자가 전부 지워야함
2020.01.04 -
데이터입출력 - 버퍼, 스트림
스트림 입력스트림, 출력스트림 단일방향으로 연속적으로 흘러가는 것 데이터가 출발지~도착지로 들어간다는 개념 데이터 입력받을 때 : 입력스트림 / 프로그램이 데이터 출력할 때 : 출력스트림 버퍼 넌다이렉트, 다이렉트 ByteBuffer nonDirectBuffer = ByteBuffer.allocate(10); ByteBuffer directBuffer = ByteBuffer.allocateDirect(10); Direct버퍼는 ByteBuffer만 있는것 같다. 구분 넌다이렉트 다이렉트 사용하는 메모리 JVM의 힙 운영체제 버퍼 생성 시간 버퍼 생성 빠름 느림 버퍼의 크기 작다 크다(큰 데이터) 입출력 성능 낮다 높다(입출력 빈번) 다이렉트 버퍼는 메모리 할당 위해 운영체제 네이티브C 함수 호출 한번 생..
2020.01.02