/*
 * Copyright (C) 2016 Yaroslav Mytkalyk
 *
 * 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.doctoror.fuckoffmusicplayer.effects;

import android.databinding.ObservableBoolean;
import android.databinding.ObservableInt;

/**
 * Created by Yaroslav Mytkalyk on 23.10.16.
 */

public final class EffectsFragmentModel {

    private final ObservableBoolean mBassBoostEnabled = new ObservableBoolean();
    private final ObservableInt mBassBoostStrength = new ObservableInt();

    private final ObservableBoolean mEqualizerEnabled = new ObservableBoolean();

    public ObservableBoolean isBassBoostEnabled() {
        return mBassBoostEnabled;
    }

    public void setBassBoostEnabled(final boolean enabled) {
        mBassBoostEnabled.set(enabled);
    }

    public ObservableInt getBassBoostStrength() {
        return mBassBoostStrength;
    }

    public void setBassBoostStrength(final int strength) {
        mBassBoostStrength.set(strength);
    }

    public ObservableBoolean isEqualizerEnabled() {
        return mEqualizerEnabled;
    }

    public void setEqualizerEnabled(final boolean equalizerEnabled) {
        mEqualizerEnabled.set(equalizerEnabled);
    }
}

@@ -742,62 +742,8 @@
 t;%0A%0A
-/**%0A * Created by Yaroslav Mytkalyk on 23.10.16.%0A */%0A%0A
 publ
@@ -817,18 +817,17 @@
 Boolean 
-mB
+b
 assBoost
@@ -893,18 +893,17 @@
 ableInt 
-mB
+b
 assBoost
@@ -971,18 +971,17 @@
 Boolean 
-mE
+e
 qualizer
@@ -1075,34 +1075,33 @@
 %0A        return 
-mB
+b
 assBoostEnabled;
@@ -1104,39 +1104,32 @@
 led;%0A    %7D%0A%0A    
-public 
 void setBassBoos
@@ -1162,34 +1162,33 @@
 bled) %7B%0A        
-mB
+b
 assBoostEnabled.
@@ -1273,18 +1273,17 @@
  return 
-mB
+b
 assBoost
@@ -1295,39 +1295,32 @@
 gth;%0A    %7D%0A%0A    
-public 
 void setBassBoos
@@ -1363,10 +1363,9 @@
     
-mB
+b
 assB
@@ -1466,18 +1466,17 @@
  return 
-mE
+e
 qualizer
@@ -1495,23 +1495,16 @@
  %7D%0A%0A    
-public 
 void set
@@ -1566,10 +1566,14 @@
     
-mE
+this.e
 qual

Refactor EffectsFragmentModel.