ViewPager 의 Wrap Content 를 적용하기 위함. 페이지마다 높이값이 다를 경우 ( 그 전 페이지 보다 지금 페이지가 높이가 더 높을 경우 ) 높이가 바뀜. 약간의 Custom 이 필요. class WrapViewPager(context: Context) : ViewPager(context) { override fun onMeasure(widthMeasureSpec: Int, heightMeasureSpec: Int) { var heightMeasureSpec = heightMeasureSpec val mode = MeasureSpec.getMode(heightMeasureSpec) if (mode == MeasureSpec.UNSPECIFIED || mode == MeasureSpec.A..
https://jihunstudy.tistory.com/20?category=807405 기본적인 DrawerLayout 에서 + 전체 화면 + RecyclerView 가로 스크롤 Intercept 조건. cs class MenuView @JvmOverloads constructor ( context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : LinearLayout(context, attrs, defStyleAttr) { init { LayoutInflater.from(context).inflate(R.layout.view_menu, this, true) setList() } private fun setList() { list.lay..
1234public interface ItemTouchHelperListener { void onItemMove(int fromPosition, int toPosition); void onItemDismiss(int position);}Colored by Color Scriptercs 1234567891011121314151617181920212223242526272829303132333435363738394041public class SwipeController extends ItemTouchHelper.Callback { private ItemTouchHelperListener itemTouchHelperListener; public SwipeController(ItemTouchHelperListen..
- Total
- Today
- Yesterday
- github actions
- 쏘렌토 하이브리드 시그니처
- 기름잡아주는
- api key 관리
- 폴더블 상태 유지
- local.properties
- wear os
- 안드로이드 폴드 대응
- aos img url bitmap
- android widget 만들기
- github
- 쏘렌토 하이브리드
- 갤럭시 워치
- 테스트 배포
- widget 이미지 로딩
- 테스트 앱 배포
- widget onreceive
- 폴더블 이벤트 받기
- flutter web
- widget glide
- github secrets
- firebase distribution
- 웨어러블
- 오브제썬스틱
- 안드로이드 플립 대응
- 맥 전용
- widget onupdate
- 풀배열 키보드
- Android
- widget 만들기
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |