diff --git a/library/src/main/java/com/github/javiersantos/appupdater/AppUpdaterUtils.java b/library/src/main/java/com/github/javiersantos/appupdater/AppUpdaterUtils.java index 5d50fd7b..cb4f115a 100644 --- a/library/src/main/java/com/github/javiersantos/appupdater/AppUpdaterUtils.java +++ b/library/src/main/java/com/github/javiersantos/appupdater/AppUpdaterUtils.java @@ -57,7 +57,7 @@ public AppUpdaterUtils setGitHubUserAndRepo(String user, String repo) { * @return this * @see com.github.javiersantos.appupdater.AppUpdaterUtils.AppUpdaterListener */ - public AppUpdaterUtils getLatestUpdate(AppUpdaterListener appUpdaterListener) { + public AppUpdaterUtils withListener(AppUpdaterListener appUpdaterListener) { this.appUpdaterListener = appUpdaterListener; return this; }