본문 바로가기

전체 글144

[Xamarin] Lottie (xaml) 중요 Animation="resource://Resources.Jsons.hooray.json?assembly=DreamforaV2" AnimationSource="EmbeddedResource" 2021. 5. 27.
기술스택 이제 xaml 코드 짜는 속도가 거의 공장 찍어내는 급이 되었다. 근데, 애니메이션, 플랫폼 스페시픽 한 코드를 짜다보니 현타가 자주온다. 복잡하고 긴 줄 수도 덤. 키보드 위에 붙는 스티키한 뷰 만들면서 또 현타옴. 자말 코드만 올려본다. (코드 비하인드는 더 거지같음 거의 한땀한땀 바느질한 느낌) None 곧 회사 스택을 flutter or swift native 로 갈아탄다. 두근두근 어떤 일이 펼쳐질까. 과연 xamarin 문제인가 내 손꾸락과 머리의 문제일까 ㅋ 2021. 5. 27.
오늘의 만나 https://apps.apple.com/app/id1547824358 ‎오늘의 만나 ‎* 매일 오늘의 묵상 구절을 제공합니다. * 매일 오늘의 맥체인 구절을 제공합니다. * 1독을 도와주는 맥체인 체크리스트 기능을 제공합니다. * 묵상을 메모하여 저장하고 공유할 수 있습니다. * apps.apple.com https://play.google.com/store/apps/details?id=com.manna.parsing2 오늘의 만나 - Google Play 앱 그리스도인의 매일의 묵상을 도와주는 앱입니다. play.google.com 2021. 5. 21.
[Xamarin] Xamarin.Forms iOS Distribution (2021) developer.apple.com/ Apple Developer There’s never been a better time to develop for Apple platforms. developer.apple.com Account 2021. 4. 21.
[Xamarin] Xamarin.Forms Custom BottomSheet (source code) github.com/nathankim0/Today-Manna-iOS-Xamarin/blob/master/TodaysManna/Controls/BottomSheets/BottomSheetContainer.cs nathankim0/Today-Manna-iOS-Xamarin :book: '오늘의 만나' Cross Platform (Android + iOS). Contribute to nathankim0/Today-Manna-iOS-Xamarin development by creating an account on GitHub. github.com 예전에 만든 bottomsheet 을 바로 쓸 수 있게 정리하였다.. _bottomSheet = new BottomSheet(); _bottomSheet.BottomS.. 2021. 4. 21.
[Xamarin] Sticky view Scroll할때 상단에 닿으면 붙는 sticky한 커스텀 토글 제작.. - ScrollView 안에 Grid, Grid안에 토글과 하단의 flexlayout 을 겹치게 배치 (row를 동일하게하면됨) - 위치는 마진값을 조정 - Y값은 해당 뷰의 절대좌표, translationY는 상대좌표. 처음에 0임. SizeChanged 이벤트가 발생하면 토글의 Y를 저장 (스크롤할때 상단에 닿았는지 확인용) - ScrollView의 eventargs.scrolledY가 저장해둔 토글의 Y값보다 커지면 토글의 translationY에 (e.scrolledY - 토글Y) 대입 - 토글Y값보다 작아지면 토글의 translationY에 0 대입 #region Sticky Toggle private void BottomC.. 2021. 4. 21.
[Xamarin] collectionview 안에서의 command (MVVM) 같은 xaml 파일 안에서 하는거면 그냥 Source={x:Reference thisPage} 이런 식으로 하면 되지만, item을 다른 파일로 만들어놨다면, 이렇게 해야함. Command="{Binding BindingContext.ClapCommand, Source={RelativeSource AncestorType={x:Type feedpage:DFFeedPage}}}" 더좋은 방법이 있을 것 같긴한데 이렇게 했음. 근데 로띠에 CommandParameter 가 없어서 걍 Clicked로 했다는...ㅠ 2021. 4. 1.
[Xamarin] TabbedPage tab 처음 이동시 OnAppearing 호출 안되는 현상 해결법 TabbedPage 클래스에 이런 식으로 OnCurrentPageChanged() 를 오버라이드해서, 탭 이동할때 로직을 작성해준다. protected override void OnCurrentPageChanged() { base.OnCurrentPageChanged(); if ( CurrentPage is YourContentPage page) { page.YourCustomCode(); } } 내 코드 protected override void OnCurrentPageChanged() { base.OnCurrentPageChanged(); if (CurrentPage.Equals(navMccheyneCheckListPage)) { App.mccheyneCheckListPage.ScrollToToday.. 2021. 2. 25.
[Xamarin] ScrollView with TapGesture Error SettingPage의 label의 탭이 안먹하는 버그 발생. ScrollView가 Root View로 있으면 TapGesture 가 안먹히는 버그가 있다. ScrollView 상위 Child에 뷰 하나를 추가해주면 잘 됨 ㅋ - 상사님께서 알아낸 원인과 해결책 2021. 1. 26.