// Path: app/src/main/java/com/qsboy/antirecall/ui/activity/App.java
// public class App extends Application {
// 
//     // 微信自动登录的flag
//     public static int WeChatAutoLoginTimes;
// 
//     // launch页停留时间
//     public static final int LaunchDelayTime = 500;
// 
//     // 会员手机号
//     public static String phone = "";
//     public static boolean isLoggedin = false;
// 
// 
//     public static String addedMessage = "";
// 
//     // 用于配置列表颜色
//     public static final int THEME_RED = 1;
//     public static final int THEME_GREEN = 2;
//     public static final int THEME_BLUE = 3;
// 
//     public static final String pkgTim = "com.tencent.tim";
//     public static final String pkgQQ = "com.tencent.mobileqq";
//     public static final String pkgWX = "com.tencent.mm";
//     public static final String pkgThis = "com.qsboy.antirecall";
// 
//     // 有的机型可以针对性的过滤非CONTENT_CHANGE_TYPE_TEXT的事件
//     public static boolean isTypeText = false;
// 
//     // 设置
//     public static boolean isShowAllQQMessages = true;
//     public static boolean isWeChatAutoLogin = true;
//     public static boolean isSwipeRemoveOn = true;
//     public static boolean isCheckUpdateOnlyOnWiFi = false;
// 
//     // 检查权限按钮的点击时间
//     public static long timeCheckAccessibilityServiceIsWorking = 0;
//     public static long timeCheckNotificationListenerServiceIsWorking = 0;
// 
//     // 用于调整两个RecyclerView高度
//     public static int layoutHeight = -1;
//     public static int deviceHeight;
//     public static int recyclerViewAllHeight;
//     public static int recyclerViewRecalledHeight;
//     public static float adjusterY;
//     public static float adjusterOriginalY;
// 
//     public static int activityPageIndex = 2;
// 
//     public static class User {
//         public static String phone;
// 
//         public static Integer userType = 1;
// 
//         public static Date subscribeTime = new Date();
// 
//     }
// 
//     public static int dip2px(Context context, float dipValue) {
//         final float scale = context.getResources().getDisplayMetrics().density;
//         return (int) (dipValue * scale);
//     }
// 
// }


import android.app.FragmentTransaction;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.qsboy.antirecall.R;
import com.qsboy.antirecall.ui.activity.App;
import java.text.SimpleDateFormat;
import java.util.Locale;
/*
 * Copyright © 2016 - 2018 by GitHub.com/JasonQS
 * anti-recall.qsboy.com
 * All Rights Reserved
 */

package com.qsboy.antirecall.ui.fragment;





public class MyFragment extends Fragment {


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {

        setHasOptionsMenu(true);

        View view = inflater.inflate(R.layout.fragment_my, container, false);

        TextView userType = view.findViewById(R.id.userType);
// Path: app/src/main/java/com/qsboy/antirecall/ui/activity/App.java
// public class App extends Application {
// 
//     // 微信自动登录的flag
//     public static int WeChatAutoLoginTimes;
// 
//     // launch页停留时间
//     public static final int LaunchDelayTime = 500;
// 
//     // 会员手机号
//     public static String phone = "";
//     public static boolean isLoggedin = false;
// 
// 
//     public static String addedMessage = "";
// 
//     // 用于配置列表颜色
//     public static final int THEME_RED = 1;
//     public static final int THEME_GREEN = 2;
//     public static final int THEME_BLUE = 3;
// 
//     public static final String pkgTim = "com.tencent.tim";
//     public static final String pkgQQ = "com.tencent.mobileqq";
//     public static final String pkgWX = "com.tencent.mm";
//     public static final String pkgThis = "com.qsboy.antirecall";
// 
//     // 有的机型可以针对性的过滤非CONTENT_CHANGE_TYPE_TEXT的事件
//     public static boolean isTypeText = false;
// 
//     // 设置
//     public static boolean isShowAllQQMessages = true;
//     public static boolean isWeChatAutoLogin = true;
//     public static boolean isSwipeRemoveOn = true;
//     public static boolean isCheckUpdateOnlyOnWiFi = false;
// 
//     // 检查权限按钮的点击时间
//     public static long timeCheckAccessibilityServiceIsWorking = 0;
//     public static long timeCheckNotificationListenerServiceIsWorking = 0;
// 
//     // 用于调整两个RecyclerView高度
//     public static int layoutHeight = -1;
//     public static int deviceHeight;
//     public static int recyclerViewAllHeight;
//     public static int recyclerViewRecalledHeight;
//     public static float adjusterY;
//     public static float adjusterOriginalY;
// 
//     public static int activityPageIndex = 2;
// 
//     public static class User {
//         public static String phone;
// 
//         public static Integer userType = 1;
// 
//         public static Date subscribeTime = new Date();
// 
//     }
// 
//     public static int dip2px(Context context, float dipValue) {
//         final float scale = context.getResources().getDisplayMetrics().density;
//         return (int) (dipValue * scale);
//     }
// 
// }


// Path: app/src/main/java/com/qsboy/antirecall/ui/fragment/MyFragment.java
import android.app.FragmentTransaction;
import android.os.Bundle;
import android.support.v4.app.Fragment;
import android.view.LayoutInflater;
import android.view.Menu;
import android.view.MenuInflater;
import android.view.MenuItem;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;
import com.qsboy.antirecall.R;
import com.qsboy.antirecall.ui.activity.App;
import java.text.SimpleDateFormat;
import java.util.Locale;

/*
 * Copyright © 2016 - 2018 by GitHub.com/JasonQS
 * anti-recall.qsboy.com
 * All Rights Reserved
 */

package com.qsboy.antirecall.ui.fragment;





public class MyFragment extends Fragment {


    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {

        setHasOptionsMenu(true);

        View view = inflater.inflate(R.layout.fragment_my, container, false);

        TextView userType = view.findViewById(R.id.userType);
        switch (App.User.userType) {