Skip to content

Instantly share code, notes, and snippets.

View sliman2017's full-sized avatar
🏠
Working from home

HAMDAOUI Slimane sliman2017

🏠
Working from home
View GitHub Profile
@sliman2017
sliman2017 / migration_algorithms.md
Last active September 5, 2022 21:52
If you faced any problem when you try to Migrate to Androidx using the android studio option then this script will help you a lot. you just need to give it the project directory path and the mapping file in format of csv and you're done ;)

Migration to Androidx

this is a python script to migrate from Support Library Class to Androidx Class

Migrate to Androidx script in case the automatic way to migrate from support library class to androidx doesn't work well you can run this script to replace every old package in the project with androidx packages

# Driver functions
import os
import pandas as pd
@sliman2017
sliman2017 / MainActivity.java
Created August 19, 2018 18:08 — forked from udacityandroid/MainActivity.java
Android for Beginners : Cookies Starting Code
package com.example.android.cookies;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;
public class MainActivity extends AppCompatActivity {
@Override