Fetch image form Camera to ImageView || Camera Intent

  Want to fetch a image from camera and set it to the image view using intent in fragment   First add permission in your manifest file   <uses-permission android:name=”android.permission.CAMERA”/>   then setOnClickListener for your image view   imageView.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View view) { int permissionCheck = ContextCompat.checkSelfPermission(getActivity(), Manifest.permission.CAMERA); if (permissionCheck == … Read more

Android Bottom Navigation and Navigation Drawer || Part 2

Android bottom navigation : In continuation to the previous tutorial on navigation drawer & android bottom navigation, we will see the code for remaining fragments, their layout files and view models in this part of the blog. https://androidcoding.in/2020/05/21/android-bottom-navigation-and-navigation-drawer-part-1/   Navigation drawer is found almost in every app like gmail, youtube, food delivery apps, news apps … Read more

Android Bottom Navigation and Navigation Drawer || Part 1

Android navigation drawer bottom navigation : This tutorial is being presented as from request from user i am going to explain the usage of both android navigation drawer and bottom navigation in a single activity. Generally we use android navigation drawer and bottom navigation separately but now we will try to join them.   Android navigation … Read more

Kotlin Synthetic Binding || A new way to bind UI components

  Kotlin Synthetic Binding : Kotlin synthetic binding makes it much simpler and easier to bind views in your code. It has a easy to implement interface and is supported in Kotlin. We declare id for the components and the id is the only aspect we make use in the synthetic binding we previously seen … Read more

Show Buttons
Hide Buttons