@Override
    protected boolean onLevelChange(int level) {
        setProgress(level / 10000f);
        return true;
    }
Set customised animator for wave loading animation
@param animator
app/src/main/java/home/smart/fly/animations/customview/views/WaveDrawable.java