Skip to content

Instantly share code, notes, and snippets.

Andreas M. AndiMiko

  • San Francisco
Block or report user

Report or block AndiMiko

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
AndiMiko /
Created Feb 8, 2019
Replaces the pairs in androidx-class-mapping.csv (get it here: to migrate Android support to AndroidX
import glob
import csv
dictCSV = "C:/path/to/androidx-class-mapping.csv"
projectPath = "C:/path/to/project/src/"
def replace_all(text, dic):
for i, j in dic.items():
text = text.replace(i, j)
return text
You can’t perform that action at this time.