-
-
Notifications
You must be signed in to change notification settings - Fork 263
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add compare versionCode #22
Comments
` // 0代表相等,1代表version1大于version2,-1代表version1小于version2
` |
一般情况下,版本比较都是放在在服务端的呢,有可能用的versionCode或versionName;升级,强制升级都是服务端在判定。 |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
String v1 ="1.0.1"
String v2 ="1.0.2"
v1 > v2
The text was updated successfully, but these errors were encountered: