// Path: app/src/main/java/com/popomusic/activity/BaseActivity.java
// public abstract class BaseActivity extends AppCompatActivity {
// 
//     private static Context context;
//     private static Activity activity;
// 
//     @Override
//     protected void onCreate(@Nullable Bundle savedInstanceState) {
//         init(savedInstanceState);//初始化view之前，进行的操作
//         super.onCreate(savedInstanceState);
//         setContentView(setLayoutResourceID());
//         context = getApplicationContext();
//         activity = this;
//         ButterKnife.bind(this);
//         initView();
//         initListener();
//         initData();
//     }
//     public void init(Bundle savedInstanceState){}
//     public abstract int setLayoutResourceID();
//     public abstract void initView();
//     public  void initListener(){}
//     public abstract void initData();
// 
//     public static Context getContext() {
//         return context;
//     }
// 
//     public static Activity getActivity() {
//         return activity;
//     }
// 
//     void Toast(String content) {
//         Toast.makeText(UIcollector.getContext(), content, Toast.LENGTH_LONG).show();
// 
//     }
// 
//     @Override
//     protected void onDestroy() {
//         super.onDestroy();
//     }
// }


import android.app.Activity;
import android.content.Context;
import android.graphics.drawable.Drawable;
import com.popomusic.activity.BaseActivity;
package com.popomusic.util;





/**
 * by popo on 2016/4/28.
 */
@SuppressWarnings("ALL")
public class UIcollector {


    public static Context getContext() {
// Path: app/src/main/java/com/popomusic/activity/BaseActivity.java
// public abstract class BaseActivity extends AppCompatActivity {
// 
//     private static Context context;
//     private static Activity activity;
// 
//     @Override
//     protected void onCreate(@Nullable Bundle savedInstanceState) {
//         init(savedInstanceState);//初始化view之前，进行的操作
//         super.onCreate(savedInstanceState);
//         setContentView(setLayoutResourceID());
//         context = getApplicationContext();
//         activity = this;
//         ButterKnife.bind(this);
//         initView();
//         initListener();
//         initData();
//     }
//     public void init(Bundle savedInstanceState){}
//     public abstract int setLayoutResourceID();
//     public abstract void initView();
//     public  void initListener(){}
//     public abstract void initData();
// 
//     public static Context getContext() {
//         return context;
//     }
// 
//     public static Activity getActivity() {
//         return activity;
//     }
// 
//     void Toast(String content) {
//         Toast.makeText(UIcollector.getContext(), content, Toast.LENGTH_LONG).show();
// 
//     }
// 
//     @Override
//     protected void onDestroy() {
//         super.onDestroy();
//     }
// }


// Path: app/src/main/java/com/popomusic/util/UIcollector.java
import android.app.Activity;
import android.content.Context;
import android.graphics.drawable.Drawable;
import com.popomusic.activity.BaseActivity;

package com.popomusic.util;





/**
 * by popo on 2016/4/28.
 */
@SuppressWarnings("ALL")
public class UIcollector {


    public static Context getContext() {
        return BaseActivity.getContext();