|
|
|
@ -8,6 +8,7 @@ import android.widget.AbsListView; |
|
|
|
import android.widget.HorizontalScrollView; |
|
|
|
import android.widget.LinearLayout; |
|
|
|
import android.widget.ListView; |
|
|
|
import android.widget.TextView; |
|
|
|
|
|
|
|
import com.qhclh.ytzh.R; |
|
|
|
import com.qhclh.ytzh.base.BaseActivity; |
|
|
|
@ -51,6 +52,8 @@ public class HatcheryReportActivity extends BaseActivity { |
|
|
|
ListView lv_report_info;//底部右侧的ListView |
|
|
|
@BindView(R.id.ll_main) |
|
|
|
LinearLayout ll_main; |
|
|
|
@BindView(R.id.tv_toolbar_title) |
|
|
|
TextView tv_toolbar_title; |
|
|
|
|
|
|
|
private boolean isLeftListEnabled = false; |
|
|
|
private boolean isRightListEnabled = false; |
|
|
|
@ -60,6 +63,7 @@ public class HatcheryReportActivity extends BaseActivity { |
|
|
|
private List<HatcheryReportBean> reportBeanList; |
|
|
|
|
|
|
|
private long hatchingStoreID; |
|
|
|
private String HatchName; |
|
|
|
@Override |
|
|
|
protected int setLayoutId() { |
|
|
|
return R.layout.act_hatchery_report; |
|
|
|
@ -70,7 +74,7 @@ public class HatcheryReportActivity extends BaseActivity { |
|
|
|
if (!EventBus.getDefault().isRegistered(this)) { |
|
|
|
EventBus.getDefault().register(this); |
|
|
|
} |
|
|
|
initToolbar(mToolbar, "报表指数", new View.OnClickListener() { |
|
|
|
initToolbar(mToolbar, "", new View.OnClickListener() { |
|
|
|
@Override |
|
|
|
public void onClick(View view) { |
|
|
|
finish(); |
|
|
|
@ -83,6 +87,8 @@ public class HatcheryReportActivity extends BaseActivity { |
|
|
|
@Override |
|
|
|
protected void initData() { |
|
|
|
hatchingStoreID= getIntent().getLongExtra("hatchingStoreID",0); |
|
|
|
HatchName = getIntent().getStringExtra("HatchName"); |
|
|
|
tv_toolbar_title.setText(HatchName); |
|
|
|
reportBeanList = new ArrayList<>(); |
|
|
|
adapter = new HatcheryReportInfoAdapter(HatcheryReportActivity.this,reportBeanList); |
|
|
|
lv_report_info.setAdapter(adapter); |
|
|
|
|