|
|
@@ -17,7 +17,6 @@ import android.view.MenuItem;
|
|
|
import android.view.View;
|
|
|
import android.widget.AdapterView;
|
|
|
import android.widget.TextView;
|
|
|
-import android.widget.Toast;
|
|
|
|
|
|
import com.alibaba.fastjson.JSON;
|
|
|
import com.alibaba.fastjson.JSONObject;
|
|
|
@@ -92,7 +91,6 @@ public class ContactFragment extends EasyFragment implements View.OnClickListene
|
|
|
public void handleMessage(Message msg) {
|
|
|
switch (msg.what) {
|
|
|
case 0x11:
|
|
|
- Toast.makeText(getActivity(), "网络加载成功", Toast.LENGTH_SHORT).show();
|
|
|
writeData(msg);
|
|
|
loadDataInThread();
|
|
|
break;
|
|
|
@@ -177,7 +175,6 @@ public class ContactFragment extends EasyFragment implements View.OnClickListene
|
|
|
mPullToRefreshView.setOnRefreshListener(new PullToRefreshView.OnRefreshListener() {
|
|
|
@Override
|
|
|
public void onRefresh() {
|
|
|
- Toast.makeText(getActivity(), "下拉刷新", Toast.LENGTH_SHORT).show();
|
|
|
loadDataInThread();
|
|
|
}
|
|
|
});
|
|
|
@@ -412,7 +409,6 @@ public class ContactFragment extends EasyFragment implements View.OnClickListene
|
|
|
public void run() {
|
|
|
adapter.setData(showDatas);
|
|
|
mPullToRefreshView.setRefreshing(false);
|
|
|
- Toast.makeText(getActivity(), "本地加载成功", Toast.LENGTH_SHORT).show();
|
|
|
if (mcProgressDialog.isShowing())
|
|
|
mcProgressDialog.dismiss();
|
|
|
}
|