|
|
@@ -1,5 +1,6 @@
|
|
|
package kr.co.zumo.app.lifeplus.view.screen.my.main;
|
|
|
|
|
|
+import android.annotation.SuppressLint;
|
|
|
import android.graphics.Rect;
|
|
|
import android.os.Bundle;
|
|
|
import android.support.annotation.NonNull;
|
|
|
@@ -82,6 +83,7 @@ public abstract class MyMainFragment extends FragmentBase<MyMainPresenter> imple
|
|
|
return inflater.inflate(R.layout.fragment_my_main, container, false);
|
|
|
}
|
|
|
|
|
|
+ @SuppressLint("NewApi")
|
|
|
@Override
|
|
|
protected void onAfterActivityCreated(Bundle savedInstanceState) {
|
|
|
|
|
|
@@ -183,6 +185,15 @@ public abstract class MyMainFragment extends FragmentBase<MyMainPresenter> imple
|
|
|
return false;
|
|
|
}
|
|
|
|
|
|
+ @Override
|
|
|
+ public void onResume() {
|
|
|
+ super.onResume();
|
|
|
+ /**
|
|
|
+ * 컨텐츠 화면에서 북마크를 변경 후 되돌아올 경우 액션바의 < 버튼이 사라지는 경우가 있어서 다시 그려준다.
|
|
|
+ */
|
|
|
+ defineActionBar(getHelper(ActionBarHelper.class));
|
|
|
+ }
|
|
|
+
|
|
|
@Override
|
|
|
public void drawBookmarkLabel(int count) {
|
|
|
textViewBookmarkCount.setText(ResourceUtil.getString(R.string.book_mark_count, count));
|