Hello Developers !!! Today we are going to learn an efficient way to maintain the aspect ratio of our View in Staggered Layout using Constraint Layout. We will take the example of Pinterest app design. This article assumes that you already have basic knowledge of LayoutManager and ConstraintLayout if not then I recommend reading the following link before going further. This is our goal to design like the Pinterest layout. For this, we need a StaggeredGridLayoutManager in RecycleView. What is StaggeredGridLayoutManager ? …
Blog Posts
The Android Architecture Component library was introduced in Google I/O 2017 which is now available in Stable Version. So I thought it is the right time to starts with these components and I recommend you to starts using in your apps too What are Architecture Components? Architecture Components is a collection of libraries that help you design robust, testable, and maintainable apps. Start with classes for managing your UI component lifecycle and handling data persistence. In simple words, this library …
This blog is written to keep libraries versions,app version and gradle dependencies at single point So lets start coding… 1.App Versioning To keep the proper incremental build and proper version naming conventions we can keep the app version with following code in build.gradle file in app module def versionMajor = 1 def versionMinor = 0 def versionPatch = 0 def versionBuild = 1 // bump for dogfood builds, public betas, etc android { defaultConfig { applicationId “com.burhan.rashid.daggermvprx” versionCode versionMajor * …
Social Profiles