Yashraj Singh Jadonblog.yashraj.dev·Jul 11, 2024Fragments in AndroidWhat are Fragments? In Android, a fragment is a reusable portion of your app's user interface. You can think of a fragment as a mini-activity within an activity. Like activities, fragments have their own lifecycle, meaning they go through stages such...Discuss·50 readsAndroid
Mayursinh Parmarmayursinhdevblog.hashnode.dev·Jul 9, 2024Passing Data in Android: A Guide for DevelopersHello devs, in today's article, we will explore different ways to pass data in the Android Component. Mastering data transfer between various parts of an application is crucial. This guide covers methods to pass data between activities, fragments, an...DiscussAndroidAndroid
Keunyoung Songmapotofu.hashnode.dev·May 20, 2024[Android Library]Image Picker Android library 배포하기(3)이전 포스팅(Image Picker Android library 배포하기(2))에서 유저에게 어떤 api 를 제공할지와 그 세부적인 기능에 대해서 다뤄보았다. 이번 포스팅에선 Fragment 의 구현과 라이브러리를 사용하기 위한 config 를 어떤 형태로 제공하도록 구현했는지 그리고 배포 과정을 살펴보겠다. class SelectSaveImagePicker() : BottomSheetDialogFragment() { private v...DiscussOpenSourcebuilder pattern
FrontEndifrontendi.hashnode.dev·Sep 16, 2023همه چیز در مورد Fragment در React !زمانیکه نسخه 16.2.0 ری اکت منتشر شد ، یک ویژگی جدید به اون اضافه شد به اسم React Fragment ! داستان انتشار Fragment در ری اکت، مثل داستان Strict Mode داستان یک مشکل بود که React Developer ها با اون درگیر بودن . در حقیقت Fragment در ری اکت یکی از اون م...DiscussReact
Divine Edwincheehdevworkshop.hashnode.dev·Jun 14, 2023Understanding the Potential of React FragmentsIntroduction React fragment is a fascinating topic in React; most beginners utilize it without even knowing what it is about, and some tutorials are kind enough to provide a video to fully explain it and give reasons for it, as well as benefits assoc...Discuss·1 likeReact
William Raiwilliamrai.hashnode.dev·May 16, 2023Difference between requireActivity() and requireContext()The requireActivity() and requireContext() methods are both utility methods provided by the AndroidX Fragment library that obtain references to the associated Activity and Context objects respectively within a Fragment. RequireActivity() This method ...Discuss·471 readsAndroid
Yashodeep Nimbekaryashodeep.hashnode.dev·Apr 18, 2023Using React Fragments for Cleaner CodeIn React, when we render multiple JSX elements in a component, we basically wrap them inside a parent element. However, this approach creates unnecessary DOM nodes. To address this issue React library exports React fragments. It allows us to group to...Discuss·2 likes·27 readsReact
Dhawal Pandyadhawalpandya01.hashnode.dev·Jan 11, 2023A fragment on React.FragmentA "Fragment" is a part of a whole, in the context of coding, fragmenting is breaking, or rather compartmentalizing pieces of code that must not interfere with each other, but still are a part of the same whole. In React, a fragment is a way to group ...Discuss·51 readsfragment
Arthur Okolodeathg0d.hashnode.dev·Jan 11, 2023Can't Access Fragment ViewsWhen the observer is still active on the parent's view, the Can't access Fragment Views error occurs. Even if the view is deleted, LifecycleOwner remains ( Navigating to the next Fragment) Came Across this error while trying to observe live data thro...DiscussAndroid