|
|
|
@ -36,12 +36,19 @@ public View onCreateView(LayoutInflater inflater, ViewGroup container,
|
|
|
|
|
Log.i("haha", "=======Oncli");
|
|
|
|
|
// //点击查找按钮之后,取出输入的句子,传给后台
|
|
|
|
|
String inputContent = search_edit.getText().toString();
|
|
|
|
|
// SearchServiceGet.executeSearchGet(inputContent);
|
|
|
|
|
SearchServiceGet.exxcuteTest(inputContent);
|
|
|
|
|
new Thread(new Runnable() {
|
|
|
|
|
@Override
|
|
|
|
|
public void run() {
|
|
|
|
|
SearchServiceGet.executeSearchGet(inputContent);
|
|
|
|
|
Intent intent = new Intent();
|
|
|
|
|
intent.setClass(getActivity(), SearchEntryActivity.class);
|
|
|
|
|
startActivity(intent);
|
|
|
|
|
}
|
|
|
|
|
}).start();
|
|
|
|
|
|
|
|
|
|
// SearchServiceGet.exxcuteTest(inputContent);
|
|
|
|
|
// //执行到这里,已经把data里的数据取出来了或没有,但是都要跳转页面到SearchEntryActivity页面
|
|
|
|
|
Intent intent = new Intent();
|
|
|
|
|
intent.setClass(getActivity(), SearchEntryActivity.class);
|
|
|
|
|
startActivity(intent);
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
});
|
|
|
|
|
}
|
|
|
|
|