Posts by Laura Suciu

If you ever wondered how to read and parse a simple JSON file stored in the assets directory of your Android project, here is a way to do it.

Android Simple Section RecylerView

Tutorial
In this tutorial I will create a simple Sectioned RecyclerView that will show 2 sections and a few items in each section and how to move an item from one…

Android Squared CardView

Solutions
Recently, I had to add a perfect square CardView and I wanted to achieve this without hardcoding its width and height. I happily discovered the power of ConstraintLayout and this…

Android Bottom Border Line

Solutions
The simplest way to add a bottom border line to a view is this one. If you search on Google and StackOverflow you will find many ways to do this,…

Xamarin Forms: Label LineBreakMode

Xamarin Forms
You can set a LineBreakMode attribute to a Label that can have the following values: TailTruncation HeadTruncation MiddleTruncation CharacterWrap WordWrap NoWrap TailTruncation If you have a text that is to…

Kotlin ListView with ViewHolder

Kotlin
In this post we will create a ListView with ViewHolder adapter but we will write the code in Kotlin. For creating xml files for ListView and list items, follow the…
keyboard_arrow_up