git stash -k
https://stackoverflow.com/a/14506564/1244574
- Pop our 1st commit
git stash pop
- Make a temp commit, will undo at step 4.
git add . && git commit -am 'WIP'
- Pop our 2nd commit
/**** #### Problem This Solves #### ****/ | |
// Sometimes libraries added with "compile" will include their own dependencies. | |
// This can conflict with specific versions in your project or cause automatic upgrades | |
// overriding your specified versions as gradle resolves the highest value. | |
// A simpile workaround is to use the `force` flag on compile to override specific modules | |
// however this can be a pain to hunt down and define if there are multipile modules and groups. | |
/**** 1. How to use *****/ | |
// 1.1 Place this your app's buidle.gradle and it will force override | |
// all Google Play services (GMS) and Android Support Libraries versions. |
//App build.gradle | |
apply plugin: 'com.android.application' | |
apply plugin: 'kotlin-android' | |
apply plugin: 'kotlin-android-extensions' | |
apply plugin: 'com.onesignal.androidsdk.onesignal-gradle-plugin' | |
android { | |
compileSdkVersion 27 |
apply plugin: 'com.android.application' | |
apply plugin: 'kotlin-android' | |
apply plugin: 'kotlin-kapt' | |
apply plugin: 'androidx.navigation.safeargs' | |
apply plugin: 'io.fabric' | |
buildscript { | |
repositories { | |
maven { url 'https://plugins.gradle.org/m2/'} | |
} |
git stash -k
https://stackoverflow.com/a/14506564/1244574
git stash pop
git add . && git commit -am 'WIP'
// Example of INotifyPropertyChanged | |
// * Other examples online were missing consumming the event itself. | |
// * https://learn.microsoft.com/en-us/dotnet/api/system.componentmodel.inotifypropertychanged.propertychanged | |
// Can try running this example at: https://dotnetfiddle.net/pWjjGo | |
using System; | |
using System.ComponentModel; | |
using System.Runtime.CompilerServices; |