Commit 9d177f29541b5347c44914efbbab0719c17cc55a

Authored by 姚旭斌
1 parent abc79afd

no message

app/src/main/java/com/shunzhi/parent/ui/activity/MyChildActivity.java
... ... @@ -59,7 +59,8 @@ public class MyChildActivity extends BaseMVPCompatActivity<MyChildContract.MyChi
59 59 @Override
60 60 public void onItemClick(SwipeMenuBridge menuBridge) {
61 61 int adapterPosition = menuBridge.getAdapterPosition();
62   - childAdapter.remove(adapterPosition);
  62 +// mDataList.remove(adapterPosition);
  63 + childAdapter.notifyItemRemoved(adapterPosition);
63 64 }
64 65 });
65 66  
... ...
app/src/main/res/layout/top.xml
1 1 <?xml version="1.0" encoding="utf-8"?>
2 2 <LinearLayout xmlns:android="http://schemas.android.com/apk/res/android"
3 3 android:layout_width="match_parent"
4   - android:layout_height="80dp">
  4 + android:layout_height="?android:actionBarSize">
5 5  
6 6 <RelativeLayout
7 7 android:layout_width="match_parent"
8 8 android:layout_height="wrap_content"
9 9 android:background="@color/back_top"
10   - android:paddingTop="20dp"
11 10 android:paddingBottom="10dp"
12 11 >
13 12 <TextView
... ...
mvpsdk/src/main/java/com/share/mvpsdk/base/activity/BaseCompatActivity.java
... ... @@ -9,13 +9,11 @@ import android.support.v7.widget.Toolbar;
9 9 import android.view.View;
10 10 import android.view.inputmethod.InputMethodManager;
11 11  
12   -
13 12 import com.share.mvpsdk.AppManager;
14 13 import com.share.mvpsdk.R;
15 14 import com.share.mvpsdk.global.GlobalApplication;
16 15 import com.share.mvpsdk.utils.AppUtils;
17 16 import com.share.mvpsdk.utils.SpUtils;
18   -import com.share.mvpsdk.utils.StatusBarUtils;
19 17 import com.share.mvpsdk.utils.ThemeUtils;
20 18 import com.share.mvpsdk.widgets.WaitPorgressDialog;
21 19  
... ... @@ -64,7 +62,7 @@ public abstract class BaseCompatActivity extends SupportActivity {
64 62 SpUtils.getNightModel(this) ? 1 : 0]);
65 63 setContentView(getLayoutId());
66 64 ButterKnife.bind(this);
67   - StatusBarUtils.setTransparent(this);
  65 +// StatusBarUtils.setTransparent(this);
68 66 setRequestedOrientation(ActivityInfo.SCREEN_ORIENTATION_PORTRAIT);
69 67 initData();
70 68 initView(savedInstanceState);
... ...