Repository URL to install this package:
package com.vipera.splashscreen;
import com.vipera.de.utility.logging.impl.DELoggerFactory;
import org.apache.cordova.CordovaInterface;
import org.apache.cordova.CordovaPreferences;
import org.slf4j.Logger;
/**
* Created by enrico on 24/02/17.
*/
public class DefaultSplashScreenProvider implements DESplashScreenProvider {
private static final Logger LOGGER= DELoggerFactory.getLogger();
private DESplashScreenHandler splashScreenHandler;
public DefaultSplashScreenProvider(CordovaInterface cordova, CordovaPreferences preferences){
LOGGER.debug("Create DefaultSplashScreenProvider");
splashScreenHandler=new DESplashScreenHandler(cordova,preferences);
}
@Override
public DESplashScreen provideSplashScreen() {
LOGGER.debug("provideSplashScreen: {} ",splashScreenHandler);
return splashScreenHandler;
}
@Override
public void dispose() {
this.splashScreenHandler = null;
}
}