Skip to content
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

Major update feature with application version code(only xml) #182

Open
wants to merge 20 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
change app version type to int
  • Loading branch information
Amit committed Mar 19, 2020
commit 9a81778a61cec7b63ae1a6f6de1f1ed9aa83e452
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
public class AppUpdater implements IAppUpdater {
private static final String TAG = "AppUpdater";
private Context context;
private long appVersionCode;
private int appVersionCode;
private LibraryPreferences libraryPreferences;
private Display display;
private UpdateFrom updateFrom;
Expand All @@ -44,7 +44,7 @@ public class AppUpdater implements IAppUpdater {
private Snackbar snackbar;
private Boolean isDialogCancelable;

public AppUpdater(Context context, long appVersionCode) {
public AppUpdater(Context context, int appVersionCode) {
this.context = context;
this.appVersionCode = appVersionCode;
this.libraryPreferences = new LibraryPreferences(context);
Expand Down