You are returning from the method/function even before the comparison is happening.
Check line number 3
return super.onCreateDialog(paramInt);
More Related Contents:
- Fetch the current location of the user
- Is there a unique Android device ID?
- How to change an Android app’s name?
- how to customize snackBar’s layout?
- How to programmatically move, copy and delete files and directories on SD?
- Android Facebook SDK 4 in Eclipse
- Converting bitmap to byteArray android
- “realm migration needed”, exception in android while retrieving values from realm db
- What are .dex files in Android?
- How can I check whether the Sim Card is available in an android device?
- First letter capitalization for EditText
- No Network Security Config specified, using platform default – Android Log
- Read file As String
- Change Media volume in Android?
- Running a specific instrumentation unit test with Gradle
- android change text color of items in spinner
- Android: Cloning a drawable in order to make a StateListDrawable with filters
- Failed to import new Gradle project in android studio
- Check if a VPN connection is active in Android?
- Map Markers with text in Google Maps Android API v2
- Firebase Authentication State Change does not fire when user is disabled or deleted
- Viewing excel files in my android app
- What is the best way to authenticate two types of users (Student and Driver) in my android app using Firebase [duplicate]
- Android and setting alpha for (image) view alpha
- android.content.res.Resources$NotFoundException: String resource ID #0x1 Error [duplicate]
- Android – Reduce image file size
- How can I detect a click on the ActionBar title?
- How to use an API from my mobile app without someone stealing the token
- Android : Permissions check for BLE [closed]
- Failed to resolve: com.android.support.design:25.4.0