android

Android Retrofit Example

Retrofit Retrofit is a REST Client for Android and Java developed by Square. It makes it relatively easy to retrieve and upload JSON (or other structured data) via a REST based webservice. In Retrofit you configure which converter is used for the data serialization. Typically for JSON you use GSon, but you can add custom […]

Android Retrofit Example Read More »

Android ListFragment Example

ListFragment A fragment that displays a list of items by binding to a data source such as an array or Cursor, and exposes event handlers when the user selects an item. The basic implementation of list fragment is for creating list of items in fragments. Get GITHUB code from Here.   Let’s have a look

Android ListFragment Example Read More »

Android Fragment Example

Fragment A fragment is an independent Android component which can be used by an activity. A fragment encapsulates functionality so that it is easier to reuse within activities and layouts. A fragment runs in the context of an activity, but has its own life cycle and typically its own user interface. Android devices exists in a variety

Android Fragment Example Read More »

Android ToggleButton Example

Toggle Buttons A toggle button allows the user to change a setting between two states. You can add a basic toggle button to your layout with the ToggleButton object. Android 4.0 (API level 14) introduces another kind of toggle button called a switch that provides a slider control, which you can add with a Switch object. Android ToggleButton and

Android ToggleButton Example Read More »

Android StackView Example

What is StackView? The Honeycomb Android version, introduced some interesting widgets with collections. One of them is the Android StackView. StackView helps in arranging items in the form of stacked cards, where the front item can be flipped to bring the item behind it to the front. Here, you will learn to stack images with text

Android StackView Example Read More »

RecyclerView Example In Kotlin

What is RecyclerView? The RecyclerView widget is a more advanced and flexible version of ListView. This widget is a container for displaying large data sets that can be scrolled very efficiently by maintaining a limited number of views. Here I would demonstrate you a working example of RecyclerView, with some basic functionality. The RecyclerView we

RecyclerView Example In Kotlin Read More »

Android RecyclerView Example

RecyclerView The RecyclerView widget is a more advanced and flexible version of ListView. This widget is a container for displaying large data sets that can be scrolled very efficiently by maintaining a limited number of views. Here I would demonstrate you a working example of RecyclerView, with some basic functionality. The RecyclerView we are going to design contains

Android RecyclerView Example Read More »