|
|
@@ -8,11 +8,9 @@ import android.animation.ObjectAnimator;
|
|
|
import android.os.Bundle;
|
|
|
import android.support.annotation.NonNull;
|
|
|
import android.support.annotation.Nullable;
|
|
|
-import android.util.Log;
|
|
|
import android.view.LayoutInflater;
|
|
|
import android.view.View;
|
|
|
import android.view.ViewGroup;
|
|
|
-import android.widget.FrameLayout;
|
|
|
import android.widget.TextView;
|
|
|
|
|
|
import java.util.ArrayList;
|
|
|
@@ -43,7 +41,6 @@ public class AllMenuFragment extends FragmentBase<AllMenuPresenter> implements I
|
|
|
private TextView textViewCategory3;
|
|
|
private TextView textViewCategory4;
|
|
|
private List<TextView> categoryList;
|
|
|
- private FrameLayout layoutFrame;
|
|
|
|
|
|
@Nullable
|
|
|
@Override
|
|
|
@@ -79,8 +76,6 @@ public class AllMenuFragment extends FragmentBase<AllMenuPresenter> implements I
|
|
|
findViewById(R.id.text_event).setOnClickListener(view -> presenter.onEvent(new Event.Builder(Event.EVENT).build()));
|
|
|
findViewById(R.id.text_view_life_plus_guide).setOnClickListener(view -> presenter.onEvent(new Event.Builder(Event.GUIDE).build()));
|
|
|
|
|
|
- layoutFrame = findViewById(android.R.id.content);
|
|
|
-
|
|
|
if (AppUtil.isDebug()) {
|
|
|
findViewById(R.id.text_coupon).setVisibility(View.VISIBLE);
|
|
|
findViewById(R.id.text_coupon).setOnClickListener(view -> presenter.onEvent(new Event.Builder(Event.COUPON_MALL).build()));
|
|
|
@@ -103,13 +98,7 @@ public class AllMenuFragment extends FragmentBase<AllMenuPresenter> implements I
|
|
|
|
|
|
@Override
|
|
|
public void hideMenuAnimation() {
|
|
|
- // <-------------------------------------
|
|
|
-// ObjectAnimator translationX = ObjectAnimator.ofFloat(layoutFrame, View.TRANSLATION_X, layoutFrame.getWidth(), 0f);
|
|
|
-// translationX.setDuration(500);
|
|
|
-// translationX.start();
|
|
|
- Log.w("APP# AllMenuFragment | hideMenuAnimation", "|" + "hide Menu A");
|
|
|
-// Animation animation = AnimationUtils.loadAnimation(getContext(), R.anim.activity_slide_in_enter);
|
|
|
-// layoutFrame.startAnimation(animation);
|
|
|
+ // TODO: 메뉴 들어갈때 애니메이션 구현
|
|
|
}
|
|
|
|
|
|
@Override
|