Import the Java. IO. UnsupportedEncodingException;
The import java.net.URLEncoder;
import java.util.ArrayList;
import java.util.List;
The import com. Appkefu. Lib. Interfaces. KFAPIs;
The import com. Bumptech. Glide. Glide;
The import com. Da. Lon. Wang. XLG. MyApplication;
The import com. Da. Lon. Wang. XLG. R;
The import com. Da. Lon. Wang. XLG. Beans. CartNubBean;
The import com. Da. Lon. Wang. XLG. Beans. DetailBean;
The import com. Da. Lon. Wang. XLG. Beans. DetailBean. NomeList. Value;
The import com. Da. Lon. Wang. XLG. Beans. DetailListBean;
The import com. Da. Lon. Wang. XLG. Beans. IdsBean;
The import com. Da. Lon. Wang. XLG. Beans. OrderListBean;
The import com. Da. Lon. Wang. XLG. Beans. ZanBean;
The import com. Da. Lon. Wang. XLG. The PreferencesConfig;
The import com. Da. Lon. Wang. XLG. Fragments. OneFragment;
The import com. Da. Lon. Wang. XLG. Fragments. ThreeFragment;
The import com. Da. Lon. Wang. XLG. Fragments. TwoFragment;
The import com. Da. Lon. Wang. XLG. HTTP. HttpLoader;
The import com. Da. Lon. Wang. XLG. HTTP. HttpLoader. OnWebLoadListener;
The import com. Da. Lon. Wang. XLG. Util. BuyUtil;
The import com. Da. Lon. Wang. XLG. Util. DialogUtil;
The import com. Da. Lon. Wang. XLG. Util. PreferenceUtils;
The import com. Da. Lon. Wang. XLG. Util. SingleManager;
The import com. Da. Lon. Wang. XLG. Util. XLGDataUtils;
The import com. Da. Lon. Wang. XLG. The CancelPopWindow;
The import com. Da. Lon. Wang. XLG. The McoyProductContentPage;
The import com. Da. Lon. Wang. XLG. The McoyProductDetailInfoPage;
The import com. Da. Lon. Wang. XLG. The McoySnapPageLayout;
The import com. Da. Lon. Wang. XLG. The MyViewPager;
The import com. Da. Lon. Wang. XLG. The ProductsPopupWindow;
The import com. Da. Lon. Wang. XLG. The QuestionPopupWindow;
The import com. Jauker. Widget. BadgeView;
The import com. Nostra13. Universalimageloader. Core. ImageLoader;
The import com. Squareup. Picasso was. Picasso was;
The import com. Umeng. Analytics. MobclickAgent;
The import android. App. The Activity;
import android.content.Context;
The import android. Content. Intent;
The import android. Graphics. Color;
The import android. Graphics. Paint;
The import android. Graphics. Drawable. Drawable;
The import android. OS. Bundle;
The import android. OS. Parcelable;
The import android. Support. The v4. App. Fragments;
The import android. Support. The v4. App. FragmentActivity;
The import android. Support. The v4. App. FragmentTransaction;
The import android. Support. The v4. View. PagerAdapter;
The import android. Support. The v4. View. ViewPager;
The import android. Support. The v4. View. ViewPager. OnPageChangeListener;
The import android. Text. TextUtils;
The import android. View. The Display;
The import android. View. Gravity;
The import android. View. LayoutInflater;
The import android. View. The view;
The import android. View. The view. An OnClickListener;
The import android. View. ViewGroup;
The import android. View. ViewGroup. LayoutParams;
The import android. View. WindowManager;
The import android. Widget. The Button;
The import android. Widget. ImageButton;
The import android. Widget. ImageView;
The import android. Widget. LinearLayout;
The import android. Widget. TextView;
The import android. Widget. Toast;
The import net. TSZ. Afinal. HTTP. AjaxParams;
Public class ProductsActivity extends BaseActivity implements an OnClickListener {
Private HttpLoader
Private HttpLoader
Private DetailBean bean=new DetailBean ();
//private ImageLoader loader2;
Private HttpLoader
Private HttpLoader
Private HttpLoader
Private McoySnapPageLayout McoySnapPageLayout=null;
Private McoyProductContentPage bottomPage=null;
Private McoyProductDetailInfoPage topPage=null;
Private LinearLayout popupwindowLayout;
Private ProductsPopupWindow contentWindow;
Private QuestionPopupWindow questionWindow;
Private CancelPopWindow CancelPopWindow;
Private Button bottomLayout;
Private View View;
Private Context Context;
Private String product_number;
Private List
Private MyViewPager detailPager;
Private TextView detailView1, detailView2 detailView3;
Private ImageView img_line;
Private int screenWidth;
Private int currenttab=0;
Private MyViewPager pager.
Private ImageView [] tips;
Private TextView nameView;
Private Button buyButton;
Private LinearLayout topLayout;
Private ImageButton backButton smileButton, ringButton shareButton;
Private TextView collectBox;
Private TextView cartView;
Private Button addcartButton;
//slider color
Private int select_color;
Private int unselect_color;
Private int mScreen1_4;
/* * * * the current view width/
Private Integer viewPagerW=0;
Private static int width=0;
Private OneFragment OneFragment;
Private TwoFragment TwoFragment; nullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnullnull