// Path: app/src/main/java/com/koma/music/util/LogUtils.java
// public class LogUtils {
//     private static final boolean IS_DEBUG = true;
//     private static final String TAG = "KomaMusic";
// 
//     public static void d(String tag, String msg) {
//         if (IS_DEBUG) {
//             Log.d(TAG, buildString(tag, msg));
//         }
//     }
// 
//     public static void i(String tag, String msg) {
//         if (IS_DEBUG) {
//             Log.i(TAG, buildString(tag, msg));
//         }
//     }
// 
//     public static void e(String tag, String msg) {
//         if (IS_DEBUG) {
//             Log.e(TAG, buildString(tag, msg));
//         }
//     }
// 
//     private static String buildString(String tag, String msg) {
//         StringBuilder sb = new StringBuilder(tag);
//         sb.append("----");
//         sb.append(msg);
//         return sb.toString();
//     }
// }


import com.koma.music.util.LogUtils;
import android.support.annotation.NonNull;
/*
 * Copyright (C) 2017 Koma MJ
 *
 * Licensed under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with the
 * License. You may obtain a copy of the License at
 * http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law
 * or agreed to in writing, software distributed under the License is
 * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */
package com.koma.music.audiopreview;



/**
 * Created by koma on 4/5/17.
 */

public class AudioPreviewPresenter implements AudioPreviewContract.Presenter {
    private static final String TAG = AudioPreviewPresenter.class.getSimpleName();
    @NonNull
    private AudioPreviewContract.View mView;

    public AudioPreviewPresenter(@NonNull AudioPreviewContract.View view) {
// Path: app/src/main/java/com/koma/music/util/LogUtils.java
// public class LogUtils {
//     private static final boolean IS_DEBUG = true;
//     private static final String TAG = "KomaMusic";
// 
//     public static void d(String tag, String msg) {
//         if (IS_DEBUG) {
//             Log.d(TAG, buildString(tag, msg));
//         }
//     }
// 
//     public static void i(String tag, String msg) {
//         if (IS_DEBUG) {
//             Log.i(TAG, buildString(tag, msg));
//         }
//     }
// 
//     public static void e(String tag, String msg) {
//         if (IS_DEBUG) {
//             Log.e(TAG, buildString(tag, msg));
//         }
//     }
// 
//     private static String buildString(String tag, String msg) {
//         StringBuilder sb = new StringBuilder(tag);
//         sb.append("----");
//         sb.append(msg);
//         return sb.toString();
//     }
// }


// Path: app/src/main/java/com/koma/music/audiopreview/AudioPreviewPresenter.java
import com.koma.music.util.LogUtils;
import android.support.annotation.NonNull;

/*
 * Copyright (C) 2017 Koma MJ
 *
 * Licensed under the Apache License, Version 2.0
 * (the "License"); you may not use this file except in compliance with the
 * License. You may obtain a copy of the License at
 * http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law
 * or agreed to in writing, software distributed under the License is
 * distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
 * KIND, either express or implied. See the License for the specific language
 * governing permissions and limitations under the License.
 */
package com.koma.music.audiopreview;



/**
 * Created by koma on 4/5/17.
 */

public class AudioPreviewPresenter implements AudioPreviewContract.Presenter {
    private static final String TAG = AudioPreviewPresenter.class.getSimpleName();
    @NonNull
    private AudioPreviewContract.View mView;

    public AudioPreviewPresenter(@NonNull AudioPreviewContract.View view) {
        mView = view;