Categories
Studio

RecyclerView Swipe to Delete – Weekly Series (Day5)

Welcome to the day 5 of RecyclerView weekly series. Today we’ll learn how to implement swipe to delete functionality to your app’s RecyclerView (or CardView). We are following SSCCE guidelines to write short, self-contained, correct (compatible) example. All you need to do is initialize ItemTouchHelper.SimpleCallBack. This callback has two parameters: dragDirs and swipeDirs. We will […]

Categories
How To

How to Play Youtube Videos in Background – Android

In this fresh new post, I am going to tell you a simple trick to play a youtube video in the background on your Android phone. Now, this is not a post which will tell you to install a 3rd party (and illegal) app to play Youtube videos in the background. But, some relatively easy […]

Categories
Studio

Endless Scrolling in RecyclerView (with JSON)- Weekly Series (Day4)

Those who are working with JSON and RecyclerView need endless scrolling for their app. It’s better to load the data automatically then showing pagination to the user, UX you know. Actually, this thing is very easy to implement. You just need to add a scroll listener to your RecyclerView so that we can know when […]

Categories
Studio

RecyclerView with Multiple View Types – Weekly Series (Day3)

The day3 post is here and as mentioned in the day1 post that I’ll cover a complex layout very soon, so here it is. In this tutorial, we will see how to add multiple view types to a single item in RecyclerView. The simplest example had only one item in RecyclerView viz. String. In case […]

Categories
Studio

How to set Click Listener to RecyclerView – Easy Approach (Weekly Series – Day2)

This post was initially written on Medium, But since I have started my development guide series on this blog itself, I have moved this post here. Thanks, everyone at Medium for ‘clapping’ and appreciating my writing. I have read many complex posts on how to set onClickListener to RecyclerView before settling for this easy solution. […]

Categories
Studio

RecyclerView – The Easiest Approach (Weekly Series – Day1)

Weekly Series (Guides) This is the first guide in this series. What a beautiful start to the development (Studio) part of this blog. Though RecyclerView tutorials are already there on the web (including the official one) and I am going to share the easy to implement approach with you. I have learned from my few […]

Categories
Studio

Getting Started! – Studio

“Hello, World!” This is the first post for Android Studio related articles. The posts under the category of Studio shall be hidden from the home page so that ordinary users don’t get to see the development related posts. What’s going to be written in this category? Well, all sorts of Android development related articles from […]

Categories
How To

How to use Android Phone as a Mouse for PC/Mac (and Linux)

There are a plethora of Android apps for using a mobile phone as a mouse for your computer. We will discuss three apps for this purpose and pick the winner out of three. WiFi Mouse This is the only app in this list to support the most number of operating systems. It works on Windows, […]

Categories
How To

How to Mirror Android Phone to PC/Mac over WiFi

Mirroring Android phone to PC/Mac is not a task which we do on regular basis. But different users might have different usage with this. In case you simply don’t want to shift your focus from your computer and want to control your phone directly from your work computer (like I do sometimes) then you need […]

Categories
Devices

Why Unlocked Bootloader is Dangerous for your Privacy?

Many users (including me) prefer to unlock the bootloader. The reason may vary from user to user. For me, I want to be able to use my phone even in the worst case (suppose the display stops working. How will I access all my data?). Some users install custom recovery and/or custom ROM so unlocking […]