Animated Recycler View is a library that allows you to animate a recycler view in your project like Google does it in its Google Play Store. Only the first visible items are animated there and you will see no animation when the recycler view scrolls up.
Reasons to use it
This library solves several problems:
It works stably fast and without jerks.
It doesn’t need to utilize the adapter to animate items when they appear for the first time.
While working on a project, most of time we need animation similar to the one used in the Google Play Store but didn’t find any appropriate library on Internet/ Github/ StackOverflow that could help us with this task.
There are so many ways to make mobile apps ranging from direct platform specific development (using Java and Kotlin for Android, and ObjC and Swift for iOS), there’s React Native from Facebook, Electrode Native from Walmart, the Ionic framework, Unity for certain types of apps, and the flutter.io framework which was just released by Google.
Ever wondered how these libraries and frameworks affect the size of your app? Let’s analyze some apk files for apps written in some of these ways. The apps are very basic, containing just a title at the top and a text at the center of the screen.
This will show, for a bare minimum app what these frameworks need to package along with the apk for it to be able to run.
For this test I created four different versions of the app, one in each of Java, Kotlin, React Native, and Flutter. (Android API 27)
The apks were then published for release type using Android Studio for Java and Kotlin and using the cli for React Native and Flutter.
Default proguard configuration was used.
The apks were analyzed using the Analyze APK feature in Android Studio.
This article looks at many categories of Java defects that Kotlin prevents in addition to null safety. Kotlin showed a surprising impact on productivity.
This article looks at many categories of Java defects that Kotlin prevents in addition to null safety. My first article (5 cool thing about Kotlin) provided a brief introduction to Kotlin and showed a surprising impact on productivity.
It’s important to realize the difference in value in fixing a defect in one class versus preventing an entire category of Java defects from occurring in any class.
Today we’re going to learn CRUD example using Spring boot, Kotlin and AngularJS with WebJar. For this tutorial, nothing is assumed except some basic Java experience.
We’ll show you how simple it is to create compliant and flexible REST services using the incredible frameworks Spring Boot and Kotlin. We’ll go through the how and why of …
Today, the MVC pattern is used by well-known frameworks such as Ruby on Rails, Apple iOS Development, ASP.NET MVC, etc. While MVP is mostly used for ASP.NET Web Forms applications and MVVM is used by WPF, Caliburn, Silverlight, nRoute, and more. Which development pattern are you currently using in your software projects? Let us know in the comments below.
Android Popup menu is really a good way to make your Android application more elegant and create a great UI. And we already discuss some menu library for Android application like ;
Now let’s focus on PowerMenu Android library which is a library that let you implement Android popup menu so easily. Without going much more start with implementation.
Demo
This is a basic example on a screenshot. You can build PowerMenu(Android Popup Menu) using Builder.
PowerMenu powerMenu = new PowerMenu.Builder(context)
.addItemList(list) // list has "Novel", "Poerty", "Art"
.addItem(new PowerMenuItem("Journals", false))
.addItem(new PowerMenuItem("Travel", false))
.setAnimation(MenuAnimation.SHOWUP_TOP_LEFT) // Animation start point (TOP | LEFT)
.setMenuRadius(10f)
.setMenuShadow(10f)
.setTextColor(context.getResources().getColor(R.color.md_grey_800))
.setSelectedTextColor(Color.WHITE)
.setMenuColor(Color.WHITE)
.setSelectedMenuColor(context.getResources().getColor(R.color.colorPrimary))
.setOnMenuItemClickListener(onMenuItemClickListener)
.build();
You can add items or item List using PowerMenuItem class. This is how to initialize PowerMenuItem.
PowerMenuItem powerMenuItem = new PowerMenuItem(“Travel”, true);
At first, argument is item Title, and the other is setting selected status. If true, the item’s text or background colour is changed by your settings like below:
There are several popular ORM database libraries out there (SQLDelight, GreenDAO, SugarORM) but we’re going to see top 10 Android database library and nearly every one uses reflection for critical database interactions. Back-end developers get things done, plain and simple.
Their work lays the foundation for an app’s success, and it comes with a lot of blood sweat and tears. Whatever your flavor, NoSQL or SQL these database libraries aim to make that work easier.
NOsql Object (NO2 a.k.a Nitrite) database is an open source nosql embedded document store written in Java. It has MongoDB like API. It supports both in-memory and single file based persistent store powered by MVStore engine of h2 database.
Read all the Database Values in the device without the need of a browser.
See all the Shared Preferences at once or file by file.
Edit the table data by clicking the value of a column in a row.
Query the database with various types of queries like SELECT, UPDATE, DELETE, INSERT and RAW QUERY. Querying is made simpler by making an interactive UI for various types of queries.
Copy the value of an individual column of Shared Preference and Database tables to Clipboard.
With the help of some additional gradle code, this library will pick up the compileSdk Version, targetSdk Version and Build Tools Version from the main project.
greenDAO is a light & fast ORM solution for Android that maps objects to SQLite databases.
It is a light & fast ORM for Android that maps objects to SQLite databases. Being highly optimized for Android, greenDAO offers great performance and consumes minimal memory.
Blockchain is a public record of transactions. It’s also distributed, so instead of one person controlling everything, there are thousands of computers around the world connected to a network, and these thousands of computers together come to an agreement on which transactions are valid.
A blockchain, originally block chain,is a continuously growing list of records, called blocks, which are linked and secured using cryptography. Each block typically contains a hash pointer as a link to a previous block, a timestamp and transaction data.
Attempting to explain the advantages and disadvantages of blockchain technology, in it’s current format, for developing solutions.
Over the last 6 months, we’ve been attempting to pull apart blockchain, from concept, to economics. This article is designed to record some of our thoughts about blockchain and why it’s useful, or not. If we have something wrong, inaccurate or out of date, let us know in the comments!
Here is my Top three technology trends you all should look out for in your endeavors in this new year 2018, which as always, will offer you loads of new opportunities to rock this world. Being a part of this mobile app ecosystem I feel immense pride while writing this piece of article for all you visionaries and future mobile apprenuer.
Before I kick-start this article, please allow me to wish
“ A Very Very Very… Happy New Year 2018” To all you lovely readers and my well wishers.
It has been an amazing journey so far being a part of this mobile app revolution since 2006, I feel blessed to see both pre & post smartphone evolution era and having experienced the change myself being the developer, leader and now a father of my own mobility startup. So thought to analyze the trend setters which kind of will rule this new year.