Categories
Studio

Room Persistence Library: Insert, Save, Delete

Previously, we got to know how to setup and implement Room library into our project. In this article, we’ll get to know how to insert, save and delete objects or populate or SQLite tables. In MainActivity, I’ll first define the app database. private AppDatabase appDatabase;@Overrideprotected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); appDatabase = AppDatabase.getDatabase(this);} Insert First […]

Categories
Studio

Room Persistence Library: Implementation

After fiddling with Room library for two days, Finally, I learned to implement it the right way. Google’s Codelabs is not a friendly way to learn new things rather you can read those tutorials after leaning a new thing. I got to learn to implement this library with the help of these sources: Youtube (This guys tutorials are such simple) Mindorks […]

Categories
Studio

How to Create and Publish a Library for Android using Jitpack(Public)

If you use a module (can be a utility class) in more than two projects, you should consider creating a library and use it for your future projects and also share it to the world to make Android community a better place. Today, I will explain how to create a public library for Android and […]

Categories
Studio

Solution to “Cannot resolve symbol GlideApp” – Glide Library v4 error

I have been using Glide library for displaying images for my projects since 2015. This library saves too much of code and efforts. But this is not what it used to be back then. To use the advanced features like placeholder(), centerCrop(), etc. you have to use GlideApp. Glide v4 requires you to GlideApp use […]

Categories
Studio

Facebook Rebound with RecyclerView Items – The Best Spring Animation

If you see Facebook’s profile on Github, you’ll find quite a lot of libraries from them. One of them is Rebound. Facebook explains this library as: Rebound spring models can be used to create animations that feel natural by introducing real world physics to your application. To get my hands on this library, I implemented […]