|
|
@ -55,11 +55,6 @@ public class ChangleFragment extends BaseFragment { |
|
|
private long mType; |
|
|
private long mType; |
|
|
private long choseDate; |
|
|
private long choseDate; |
|
|
|
|
|
|
|
|
//Fragment的View加载完毕的标记 |
|
|
|
|
|
private boolean isViewCreated; |
|
|
|
|
|
|
|
|
|
|
|
//Fragment对用户可见的标记 |
|
|
|
|
|
private boolean isUIVisible; |
|
|
|
|
|
@Override |
|
|
@Override |
|
|
protected int setLayout() { |
|
|
protected int setLayout() { |
|
|
return R.layout.fragment_changle; |
|
|
return R.layout.fragment_changle; |
|
|
@ -76,7 +71,6 @@ public class ChangleFragment extends BaseFragment { |
|
|
@Override |
|
|
@Override |
|
|
protected void initData() { |
|
|
protected void initData() { |
|
|
mType = getArguments().getLong(ARG_TIMELINE_TYPE); |
|
|
mType = getArguments().getLong(ARG_TIMELINE_TYPE); |
|
|
// choseDate = getArguments().getLong("time"); |
|
|
|
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
@Override |
|
|
@Override |
|
|
@ -86,6 +80,7 @@ public class ChangleFragment extends BaseFragment { |
|
|
public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) { |
|
|
public void onItemClick(AdapterView<?> adapterView, View view, int i, long l) { |
|
|
Intent intent = new Intent(getActivity(), ReportActivity.class); |
|
|
Intent intent = new Intent(getActivity(), ReportActivity.class); |
|
|
intent.putExtra("BreedFactory_id",l); |
|
|
intent.putExtra("BreedFactory_id",l); |
|
|
|
|
|
intent.putExtra("time",choseDate); |
|
|
startActivity(intent); |
|
|
startActivity(intent); |
|
|
} |
|
|
} |
|
|
}); |
|
|
}); |
|
|
|