Custom View 를 만들때, depth 를 한번더 늘리는 dummy layout 을 없애기 위해 필요한 태그 (xml depth 에 따라 랜더링 성능이 결정되기 때문에 뎁스가 늘어날 수록 성능면에서 치명적이라고 볼 수 있음.) 예시 아래와 같은 custom view 가 있다. cusom_button.xml 소스 CustomButton.kt 소스 package com.example.mergetest import android.content.Context import android.util.AttributeSet import android.view.LayoutInflater import android.widget.LinearLayout class CustomButton @JvmOverloads cons..
Error constructor fragmentstatepageradapter(fragmentmanager)' is deprecated. deprecated in java ViewPager 를 FragmentPager 로 이용할 때 아래와 같은 경고 문구를 만날 수 있다. Why 생성자를 타고 들어가면 아래처럼 Deprecated 되었으니 FragmentPagerAdapter(FragmentManager, Int) 생성자를 이용하라고 나옴. /** * Constructor for {@link FragmentPagerAdapter} that sets the fragment manager for the adapter. * This is the equivalent of calling {@link #Fragme..
- Total
- Today
- Yesterday
- 노드
- CentOS
- 서버
- IOS
- C언어
- xcode
- Kotlin
- GIT
- 점유율
- php
- 앵커브리핑
- 스위프트
- 리눅스
- linux
- mysql
- node.js
- git hub
- Android
- 깃헙
- Phaser
- C
- Swift
- 배열
- 손석희
- nodejs
- BBC 가쉽
- Node
- 안드로이드
- Asterisk
- 뉴스룸
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |