Showing: 11 - 20 of 41 Articles

Steps to setup Branch io for UTM Tracking in React Native

For iOS Setup: Initialise branch : Open AppDelegate.m and add the following code: Let’s setup for Android App: Open Android manifest file add the android:launchMode=”singleTask” to .MainActivity activity. Open Mainactivity.java file Open mainApplication.java file Let Implement the code to listen the Deep Links in the …

Send mail with attachment using Gmail API

To send an email from your app with an attachment like image, video, etc. We can do this by calling 2-3 functions. First, we need to add some required permission in AndroidManifest.xml as below. <uses-permission android:name=”android.permission.INTERNET” /> <uses-permission android:name=”android.permission.GET_ACCOUNTS” /> <uses-permission android:name=”android.permission.WRITE_EXTERNAL_STORAGE” /> Then add necessary …

Generic Recycleview with Adapter in Kotlin

Now I will show you how to use Generic RecycleView for different View Types. First of creating Generic Recycleview Adapter (GenericAdapter) class as below. import android.support.v7.widget.RecyclerView import android.view.LayoutInflater import android.view.View import android.view.ViewGroup abstract class GenericAdapter : RecyclerView.Adapter { var listItems: List constructor(listItems: List) { this.listItems …