|
@@ -3,6 +3,7 @@ package com.wiipu.peopleheart.home;
|
|
|
import android.support.v7.widget.GridLayoutManager;
|
|
import android.support.v7.widget.GridLayoutManager;
|
|
|
import android.support.v7.widget.RecyclerView;
|
|
import android.support.v7.widget.RecyclerView;
|
|
|
import android.view.View;
|
|
import android.view.View;
|
|
|
|
|
+import android.widget.Button;
|
|
|
import android.widget.ImageView;
|
|
import android.widget.ImageView;
|
|
|
import android.widget.LinearLayout;
|
|
import android.widget.LinearLayout;
|
|
|
|
|
|
|
@@ -19,6 +20,7 @@ import com.wiipu.peopleheart.home.contract.HomeContract;
|
|
|
import com.wiipu.peopleheart.home.presenter.HomePresenter;
|
|
import com.wiipu.peopleheart.home.presenter.HomePresenter;
|
|
|
import com.wiipu.peopleheart.home.response.homeNewsResponse;
|
|
import com.wiipu.peopleheart.home.response.homeNewsResponse;
|
|
|
import com.wiipu.peopleheart.home.response.topNewsResponse;
|
|
import com.wiipu.peopleheart.home.response.topNewsResponse;
|
|
|
|
|
+import com.wiipu.peopleheart.widget.ClearEditText;
|
|
|
import com.wiipu.peopleheart.widget.convenientBanner.GlideHolderView;
|
|
import com.wiipu.peopleheart.widget.convenientBanner.GlideHolderView;
|
|
|
|
|
|
|
|
import java.util.ArrayList;
|
|
import java.util.ArrayList;
|
|
@@ -33,6 +35,15 @@ public class HomeFragment extends BaseMvpFragment implements HomeContract.View,O
|
|
|
@BindView(R.id.cb_images)
|
|
@BindView(R.id.cb_images)
|
|
|
ConvenientBanner mConvenientBanner;
|
|
ConvenientBanner mConvenientBanner;
|
|
|
|
|
|
|
|
|
|
+ @BindView(R.id.et_query_num)
|
|
|
|
|
+ ClearEditText query_num;
|
|
|
|
|
+
|
|
|
|
|
+ @BindView(R.id.et_pass)
|
|
|
|
|
+ ClearEditText query_pass;
|
|
|
|
|
+
|
|
|
|
|
+ @BindView(R.id.bt_query)
|
|
|
|
|
+ Button bt_query;
|
|
|
|
|
+
|
|
|
@BindView(R.id.rv_tushuominzhu)
|
|
@BindView(R.id.rv_tushuominzhu)
|
|
|
RecyclerView homeRcylerView;
|
|
RecyclerView homeRcylerView;
|
|
|
|
|
|
|
@@ -136,6 +147,7 @@ public class HomeFragment extends BaseMvpFragment implements HomeContract.View,O
|
|
|
dajiaping.setOnClickListener(this);
|
|
dajiaping.setOnClickListener(this);
|
|
|
mianduimian.setOnClickListener(this);
|
|
mianduimian.setOnClickListener(this);
|
|
|
yijiantiwen.setOnClickListener(this);
|
|
yijiantiwen.setOnClickListener(this);
|
|
|
|
|
+ bt_query.setOnClickListener(this);
|
|
|
|
|
|
|
|
}
|
|
}
|
|
|
|
|
|
|
@@ -300,6 +312,8 @@ public class HomeFragment extends BaseMvpFragment implements HomeContract.View,O
|
|
|
commonActivity.start(getActivity(), "http://rongzhi110.xazhima.com/weixinMinxin/indexToReservation.php"
|
|
commonActivity.start(getActivity(), "http://rongzhi110.xazhima.com/weixinMinxin/indexToReservation.php"
|
|
|
, getResources().getString(R.string.tv_mianduimianyuyue));
|
|
, getResources().getString(R.string.tv_mianduimianyuyue));
|
|
|
break;
|
|
break;
|
|
|
|
|
+ case R.id.bt_query:
|
|
|
|
|
+
|
|
|
default:
|
|
default:
|
|
|
break;
|
|
break;
|
|
|
}
|
|
}
|