prince-of-versions/src/main/java/co/infinum/princeofversions/PrinceOfVersions.java
public UpdaterResult checkForUpdates(LoaderFactory loaderFactory, UpdaterCallback callback) {
        UpdateConfigLoader loader = loaderFactory.newInstance();
        try {
            loader.validate();
        } catch (LoaderValidationException e) {
            throw new IllegalArgumentException(e);
        }
        UpdaterResult povContext = new UpdaterResult(callback);
        PovPresenter presenter = PovFactoryHelper.getInstance().getPresenter(povContext, loader, factory, repository, sdkVersionProvider);
        povContext.setPresenter(presenter);
        presenter.checkForUpdates();
        return povContext;
    }
/**
     * Method checks for updates from resource provided by given LoaderFactory and notifies UpdaterCallback if there is some update
     * available or not. Object returned from method represents calling context through is available to check if update check was
     * notified or cancel update checking if not.
     * <p>
     * After creating new loader from LoaderFactory its validate method is called which throws exception if loader is invalid.
     * </p>
     *
     * @param loaderFactory Representation of custom resource loader.
     * @param callback      Callback for notifying update check result.
     * @return Calling context representing this concrete update check.
     * @throws IllegalArgumentException if newly created loader is invalid.
     */
Method checks for updates from resource provided by given LoaderFactory and notifies UpdaterCallback if there is some update
available or not. Object returned from method represents calling context through is available to check if update check was
notified or cancel update checking if not.

After creating new loader from LoaderFactory its validate method is called which throws exception if loader is invalid.

@param loaderFactory Representation of custom resource loader.
@param callback      Callback for notifying update check result.
@return Calling context representing this concrete update check.
@throws IllegalArgumentException if newly created loader is invalid.
Method checks for updates from resource provided by given LoaderFactory and notifies UpdaterCallback if there is some update available or not . Object returned from method represents calling context through is available to check if update check was notified or cancel update checking if not . After creating new loader from LoaderFactory its validate method is called which throws exception if loader is invalid . @param loaderFactory Representation of custom resource loader . @param callback Callback for notifying update check result . @return Calling context representing this concrete update check . @throws IllegalArgumentException if newly created loader is invalid .
public UpdaterResult checkForUpdates(LoaderFactory loaderFactory, UpdaterCallback callback) {
        UpdateConfigLoader loader = loaderFactory.newInstance();
        try {
            loader.validate();
        } catch (LoaderValidationException e) {
            throw new IllegalArgumentException(e);
        }
        UpdaterResult povContext = new UpdaterResult(callback);
        PovPresenter presenter = PovFactoryHelper.getInstance().getPresenter(povContext, loader, factory, repository, sdkVersionProvider);
        povContext.setPresenter(presenter);
        presenter.checkForUpdates();
        return povContext;
    }
public UpdaterResult checkForUpdates ( LoaderFactory loaderFactory , UpdaterCallback callback ) { UpdateConfigLoader loader = loaderFactory . newInstance ( ) ; try { loader . validate ( ) ; } catch ( LoaderValidationException e ) { throw new IllegalArgumentException ( e ) ; } UpdaterResult povContext = new UpdaterResult ( callback ) ; PovPresenter presenter = PovFactoryHelper . getInstance ( ) . getPresenter ( povContext , loader , factory , repository , sdkVersionProvider ) ; povContext . setPresenter ( presenter ) ; presenter . checkForUpdates ( ) ; return povContext ; }
Method checks for updates from resource provided by given LoaderFactory and notifies UpdaterCallback if there is some update
 available or not.
Method checks for updates from resource provided by given LoaderFactory and notifies UpdaterCallback if there is some update available or not .