Skip to content

Instantly share code, notes, and snippets.

View AmrSaleh's full-sized avatar

Amr Saleh AmrSaleh

View GitHub Profile
@AmrSaleh
AmrSaleh / AndroidToKotlinTips.md
Last active June 10, 2019 10:57
We highlight some of the tips and tricks to take into consideration while migration your Android Java project to Kotlin.

Android Java to Kotlin (Things to take into consideration)

Kotlin-for-Android-development

1. View Binding

The old school way

Usually while writing view binding code for android you need to declare your view components and then bind them to their respective views using findViewById which is a lot of hassle and can even reduce your performance if done in a wrong way. Typically is tedious and looks something like this.

class MainActivity extends Activity {
TextView title;
@AmrSaleh
AmrSaleh / FabricToFirebaseGuide.md
Created December 3, 2019 12:46
Explained steps to migrate your Android/IOS Project to use Firebase Analytics and App distribution instead of Fabric Crashlytics and Beta distribution.

Fabric to Firebase

FabricFirebase

As we all know that Fabric is being migrated to Firebase and all Fabric features (Crashlytics, Beta, etc.) will have their equivalents in Firebase (Analytics, Distribution, etc.)

As a result we will need to migrate our current Fabric projects to Firebase in order to keep our analytic data and continue using other features like Beta distribution.

In this article I will try to simplify all the steps needed to migrate you project to Firebase, keep your analytics and configure automated releases using Fastlane and CircleCI.

Migration steps from Fabric to Firebase.