In the previous article, we have learned on How to show dialogs in android, if you feel like those dialogs are not enough or kind of look like old school here is a better alternative for you, Android BottomSheet.You can learn about Android Bottom sheets in the documentation [Sheet: bottom - Material Design]as it has quite a hands full of information on what to do and what not to do. In this article, we will be looking into implementing a bottom sheet in android with kotli…
Learn more »ViewPager2 in android is the best-known way to create slide between screen like UX, in our recent article about ViewPager2 we have shared a little knowledge on how you can create ViewPager2 in android with kotlin, Since its an updated version of the old ViewPager in android it uses the famous RecyclerView Adapter to create and show the pages in a carousel to slide between screens. In this tutorial, we are going to give you an example of how to use fragments in viewpager2 wit…
Learn more »In this android kotlin tutorial, we are going to look into one of the must-know UI element of the android application development which is the Alert Dialog In Android, and we are going to create them with kotlin, I believe most of you have already known about which we mentioned briefly in the How to get runtime permission in the android post. Alternatively, if you are looking for an android bottom sheet you can refer to this tutorial: Bottom Sheet Android With KotlinWhat is …
Learn more »Hi There,Its good to see you again here, In the previous articles we have shared some useful information about how to work with the ActivityResult API in android which is to get results from activities, that was a very useful approach when the data is passed between single activity, But in some cases, you may want to share data between multiple activities, or to be precise you want to store a piece of information that the user has provided, for example, some basic informati…
Learn more »Hi There,In our recent article, we have been looking into the ActivityResult API in android, this API was introduced as an alternative to the deprecated startActivityForResult and onActivityResult callback, along with that we found out that onRequestPermissionsResult is also deprecated, a callback used to capture result back after the user responded to runtime permission prompt. In this article, we will be learning about how to get runtime permission in android with Activit…
Learn more »Hi There,Well, In a recent article we have shared a bit about the new Android activity result API, since the startActivityForResult and onActivityResult are deprecated, we have some new API's to work with to achieve the same functionality, the idea is simple we start a new activity and do some operation and get the result back from the activity, for this we used the famous startActivityForResult and onActivityResult, but both are deprecated in the updated Activity class…
Learn more »Dear Readers,In this tutorial we are going to learn about how to get the result back from an activity that we launched, this is often the use case when you want to know the operation performed by the user on another activity that is started. The simplest example could be like you want to know the text the user typed in another activity, this is a use case of sending data within your application whereas you can also start other applications for the result, for example, you w…
Learn more »
Social Plugin