这两个有啥区别 为什么一个类里边包含了他们两个一样的Public CopyHelper public CopyHelper(Context context, AtomicInteger sync) {
super();
m_Context = context;
m_Handler = new Handler(this);
m_FileOper = new FileOperator();
m_atomic = new AtomicInteger(0);
m_used = false;
ui_sync = sync;
} public CopyHelper(Context context, AtomicInteger sync, boolean cut_mode) {
super();
m_Context = context;
m_Handler = new Handler(this);
m_FileOper = new FileOperator();
m_atomic = new AtomicInteger(0);
m_used = false;
ui_sync = sync;
m_cut = cut_mode;
}
super();
m_Context = context;
m_Handler = new Handler(this);
m_FileOper = new FileOperator();
m_atomic = new AtomicInteger(0);
m_used = false;
ui_sync = sync;
} public CopyHelper(Context context, AtomicInteger sync, boolean cut_mode) {
super();
m_Context = context;
m_Handler = new Handler(this);
m_FileOper = new FileOperator();
m_atomic = new AtomicInteger(0);
m_used = false;
ui_sync = sync;
m_cut = cut_mode;
}
当你想用这些方法的时候,
你可以用copyhelper(contenxt,sync)调用第一个
如果你用copyhelper(context,sync,cut_mod)的时候,就调用了第二个
基础要打牢啊