示例#1
0
 public void onItemClick(AdapterView<?> paramAdapterView, View paramView, int paramInt, long paramLong)
 {
   paramAdapterView = paramAdapterView.getAdapter().getItem(paramInt);
   if ((paramAdapterView instanceof DPObject))
   {
     paramAdapterView = (DPObject)paramAdapterView;
     statisticsEvent("profile5", "profile5_pay_item", "" + paramAdapterView.getString("SerializedID"), 0);
     paramView = Uri.parse("dianping://huipaydetail").buildUpon();
     paramView.appendQueryParameter("biztype", Integer.toString(paramAdapterView.getInt("BizType")));
     paramView.appendQueryParameter("serializedid", paramAdapterView.getString("SerializedId"));
     paramView.appendQueryParameter("ordertime", paramAdapterView.getTime("Time") + "");
     startActivity(new Intent("android.intent.action.VIEW", paramView.build()));
   }
 }
 public void onItemClick(
     AdapterView<?> paramAdapterView, View paramView, int paramInt, long paramLong) {
   paramAdapterView = gk.a(a).a(paramInt);
   if (paramAdapterView.has("key")) {}
   try {
     paramView = paramAdapterView.getString("key");
     if (paramAdapterView.getInt("disable") == 1) {
       a.b(gk.b(a), paramView);
     }
     for (; ; ) {
       gk.c(a);
       return;
       a.a(gk.b(a), paramView);
     }
   } catch (JSONException paramAdapterView) {
     for (; ; ) {
       paramAdapterView.printStackTrace();
     }
   } catch (RemoteException paramAdapterView) {
     for (; ; ) {
       paramAdapterView.printStackTrace();
     }
   }
 }