version:1.8.7
fix: update:去掉butterknife
This commit is contained in:
@@ -10,7 +10,7 @@ import com.arialyy.aria.core.Aria;
|
||||
import com.arialyy.aria.core.task.DownloadTask;
|
||||
|
||||
public class DownloadService extends Service {
|
||||
private static final String TAG = DownloadService.class.getSimpleName();
|
||||
private static final String TAG = "DownloadService";
|
||||
|
||||
public DownloadService() {
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ import java.util.Set;
|
||||
* @author TT
|
||||
*/
|
||||
public class NotificationService extends NotificationListenerService {
|
||||
private static final String TAG = NotificationService.class.getSimpleName();
|
||||
private static final String TAG = "NotificationService";
|
||||
|
||||
private static HashMap<String, List<StatusBarNotification>> notificationMap = new HashMap<String, List<StatusBarNotification>>();
|
||||
private static Set<NotificationListener> mListener = new HashSet<NotificationListener>();
|
||||
|
||||
@@ -10,12 +10,9 @@ public class MainSContact {
|
||||
public interface Presenter extends BasePresenter<MainSView> {
|
||||
/*获取网课模式*/
|
||||
void getCloudLessonSettings();
|
||||
/*获取闹钟*/
|
||||
void getAlarmClock();
|
||||
}
|
||||
|
||||
public interface MainSView extends BaseView {
|
||||
void setCloudLessonSettings();
|
||||
void setAlarmClock(List<AlarmClockData> dataList);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -20,7 +20,7 @@ import io.reactivex.rxjava3.subjects.BehaviorSubject;
|
||||
* @author jgy02
|
||||
*/
|
||||
public class MainSPresenter implements MainSContact.Presenter {
|
||||
private static final String TAG = MainSPresenter.class.getSimpleName();
|
||||
private static final String TAG = "MainSPresenter";
|
||||
private static final int OK = 200;
|
||||
private MainSContact.MainSView mView;
|
||||
private Context mContext;
|
||||
@@ -61,7 +61,6 @@ public class MainSPresenter implements MainSContact.Presenter {
|
||||
});
|
||||
}
|
||||
|
||||
@Override
|
||||
public void getAlarmClock() {
|
||||
NetInterfaceManager.getInstance().getAlarmClock(true, getLifecycle(), new NetInterfaceManager.AlarmClockCallback() {
|
||||
@Override
|
||||
|
||||
@@ -20,7 +20,7 @@ import java.util.HashMap;
|
||||
import java.util.List;
|
||||
|
||||
public class MainService extends BaseRxService implements MainSContact.MainSView, NetworkUtils.OnNetworkStatusChangedListener {
|
||||
private static final String TAG = MainService.class.getSimpleName();
|
||||
private static final String TAG = "MainService";
|
||||
|
||||
public MainSPresenter mPresenter;
|
||||
|
||||
@@ -154,11 +154,7 @@ public class MainService extends BaseRxService implements MainSContact.MainSView
|
||||
|
||||
@Override
|
||||
public void setCloudLessonSettings() {
|
||||
// mPresenter.getAlarmClock();
|
||||
}
|
||||
|
||||
@Override
|
||||
public void setAlarmClock(List<AlarmClockData> dataList) {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user