|
|
|
@ -1,8 +1,10 @@ |
|
|
|
package com.qhclh.ytzh.work.Poultrydailyreport; |
|
|
|
|
|
|
|
import android.content.Intent; |
|
|
|
import android.support.v7.widget.Toolbar; |
|
|
|
import android.view.View; |
|
|
|
import android.widget.AbsListView; |
|
|
|
import android.widget.AdapterView; |
|
|
|
import android.widget.HorizontalScrollView; |
|
|
|
import android.widget.ListView; |
|
|
|
|
|
|
|
@ -77,7 +79,24 @@ public class PoultryReportActvity extends BaseActivity { |
|
|
|
|
|
|
|
@Override |
|
|
|
protected void initOper() { |
|
|
|
|
|
|
|
lv_buildhousename.setOnItemClickListener(new AdapterView.OnItemClickListener() { |
|
|
|
@Override |
|
|
|
public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) { |
|
|
|
Intent intent = new Intent(PoultryReportActvity.this,PoultryDataChartActivity.class); |
|
|
|
intent.putExtra("House_ID",l); |
|
|
|
intent.putExtra("House_Name",reportBeanList.get(i).getHouse_Name()); |
|
|
|
startActivity(intent); |
|
|
|
} |
|
|
|
}); |
|
|
|
lv_report_info.setOnItemClickListener(new AdapterView.OnItemClickListener() { |
|
|
|
@Override |
|
|
|
public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) { |
|
|
|
Intent intent = new Intent(PoultryReportActvity.this,PoultryDataChartActivity.class); |
|
|
|
intent.putExtra("House_ID",l); |
|
|
|
intent.putExtra("House_Name",reportBeanList.get(i).getHouse_Name()); |
|
|
|
startActivity(intent); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
|