ZOFTINO.COM

Android OkHttp Cache Authenticator and Interceptor Example

Shows how to implement OkHttp cache, and how to use OkHttp interceptors and authenticator in android, with examples.

Android OkHttp Example

Explains how to use OkHttp http library to make various types of http request calls in android, with examples.

Handling JSON Using Gson in Android

Explains how to use gson to convert between object and json string in android.

Android JSON Parsing

JavaScript Object Notation (JSON) is a format for data exchange and storage. JSON is simple and easy to parse information interchange format compared to xml. JSON format is widely used to exchange data between device and server in android apps.

Android Spinner Custom Adapter & Layout

Spinner is a dropdown view which allows user to select an item from all available choices displayed in spinner. If each item in the spinner is just text, you can use array adapter and simple item layouts provided by android to provide dropdown in your app.

Android Spinner Dropdown List

Spinner widget is a drop down list in android. Using spinner, your app can display list of available choices for a particular data element and allow user to select one item from the list.

Android Copy and Paste Text Example

Copy and paste text functionality in android app can be implemented using android clipboard framework.

Android Bottom Navigation View

The purpose of android BottomNavigationView is to provide top level navigation that allows users to move between main screens of an app.

RecyclerView ItemDecoration

To make items separation visible or enhance the look and feel of items when items in RecyclerView are displayed on screen, items in the list needs to be decorated.

RecyclerView and GridLayoutManager Example

Learn how to display recycler view items in grid and how to use constraint layout with recycler view.

Android ScrollView Examples

Android ScrollView, HorizontalScrollView and ConstraintLayout examples NestedScrollView and LinearLayout example.

Adding Views & Constraints to Android Constraint Layout Programmatically

Using constraint layout, you can create flat layouts. Like any other layouts in android, constraint layouts also can be created in code or defined in xml.