Created
April 6, 2019 08:21
-
-
Save Lavanyagaur22/5f7dd2a948dd578c8ca8bd8d0b4b8899 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Toast shown to the user displaying conflict detected. | |
private fun showToast(context: Context) { | |
(context as AppCompatActivity).runOnUiThread { | |
Toast.makeText(context, "Conflict Detected", Toast.LENGTH_SHORT).show() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment