Event Bus in Android with Example | Simple and Easy Tutorial to Get Started
Akshay Rana | Tech Blog
by Admin
3y ago
EventBus is the number 1 event library for android and java. EventBus uses the publisher and subscriber pattern for loose coupling which means the possibility of errors will be less. EventBus simplifies the communication between different components for example communications between different levels of activities or even services. You need very less or no setup to use EventBus in your existing project.  EventBus provides a convenient annotation-based API which makes it fast and the performance is increased. EventBus is used by many popular apps, apps which has 1 billion-plus download wh ..read more
Visit website
Top 10 Libraries every android developer should know
Akshay Rana | Tech Blog
by Admin
3y ago
Hello world, today we are going to see the top 10 libraries for the android developer that they should know about. You can use these libraries or you can also use their equivalent libraries if you like. These top 10 libraries are based on my experience this list can be different from person to person. The top 10 libraries every Android developer should know are listed below. Fast Android Networking Library Glide Room Persistence Library Firebase Cloud Firestore Crashlytics LeakCanary ExoPlayer Firebase Auth Firebase Storage Facebook Shimmer 1. Fast Android Networking Library Fast android ne ..read more
Visit website
10 Libraries every android developer should know
Akshay Rana | Tech Blog
by Admin
3y ago
..read more
Visit website
Upload Image to Firebase Storage | Android Tutorial
Akshay Rana | Tech Blog
by Admin
3y ago
How to upload Image to Firebase Storage in Android Hello world, today we are going to learn how we can upload an image to the firebase storage from our android application. We will see how we can show the progress of uploading an image to the user. Firebase storage gives use utility to upload the file and get the URL of that uploaded file so that we can access our file through the link. Let's see the final result we are going to learn. Before staring the code we need to enable firebase storage in our Firebase project. Open your Firebase console and select the project and ..read more
Visit website
How to change font family of textview.
Akshay Rana | Tech Blog
by Admin
3y ago
How to change font family of textview Hello world, today we are going to see how we can set the different font families to the textview. Why we need to use a different font for textview because simple or default font family of textview looks so simple and to give a professional look to our app we need custom fonts for textview. Let's see how to add custom fonts in the android application. Below is the example of the custom fonts added to the textview. In the above image first font is default one and the rest are custom added fonts. To add the fonts first we need to download the .ttf fil ..read more
Visit website
Bottom sheet in android | Android Tutorial 2020 Updated
Akshay Rana | Tech Blog
by Admin
3y ago
How to make Bottom Sheet in Android Hello world, today we are going to see how to make a persistence bottom sheet and how to make a modal bottom sheet in the android. The bottom sheet has two types, one is persistence and the second is a modal sheet. In both cases, the bottom sheet slides up. In the persistence bottom sheet, some parts of the bottom sheet showing to the user so that the user can slides up and in the model bottom sheet you can make a trigger to show the bottom sheet and it is fully hidden unlikely persistence bottom sheet. When a user clicks on a button or something you can ..read more
Visit website
How to make Tabs with swipeable view in Android [2020]
Akshay Rana | Tech Blog
by Admin
4y ago
Make Tabs with Swipeable Layout using ViewPager2 and TabLayout Hello world, today we are going to see how to make a swipeable view using ViewPager2 and TabLayout. We will see how to use fragment and how to sync tab layout indicator with ViewPager2 swipes. We will set the tab layout title to the tabs and then inflate our views in viewpager. Let's look at the finished app in the below gif. To make the swipeable views, first, we need to add a required dependency for our project. Add Dependency for TabLayout Open your build.gradle file app level and in the dependency section and add these de ..read more
Visit website
Firebase Cloud FireStore Database in Android | Beginner Android Tutorial
Akshay Rana | Tech Blog
by Admin
4y ago
How to use Firebase Cloud FireStore Database in Android Hello World, today we are going to see how we can make a todo app using a firebase cloud firestore database. The Firestore database is a very flexible and scalable NoSQL database to make our development very fast. Firestore is very easy to use in android. FireStore can work every smoothly even of your device is offline it can fetch data from the cache in the device so that your app can work offline and update the data when it connects to the internet again. This functionally makes your app for interactive for the users. Fires ..read more
Visit website
How to make Dark (Night) Mode Theme in Android | Android Tutorial
Akshay Rana | Tech Blog
by Admin
4y ago
How to make Dark (Night) Mode Theme in Android Hello World, today we are going to see how we can implement a dark theme or night mode in our android application. This tutorial is going to be very simple and easy to understand. The dark theme is attractive to users and it is comfortable for low light conditions. Recently many apps adapt dark mode in their app and the output of the night mode is amazing as many users love dark mode for their app. An example of a dark theme is Whatsapp dark mode in android see the below image. Let's look at how our app will look like, see the bel ..read more
Visit website
Custom Switch in Android | Akshayrana.in | Android Tutorial
Akshay Rana | Tech Blog
by Admin
4y ago
How to make Custom Switch in Android? Hello World, Today we are going to make a custom switch. Why? Because the default one looks so boring and ugly. Why we use a switch? As the name suggests, the switch is used to trigger the value either it is on, or it is off. Let's see, how our custom switch will look at the end of the tutorial. In the above gif, there are 3 switches. The First one is the default one and the second and third are our custom switches. To make these custom switches we need to follow certain steps are as follows: Step 1. Add Switch to Activity Layout First. we need to ..read more
Visit website

Follow Akshay Rana | Tech Blog on FeedSpot

Continue with Google
Continue with Apple
OR