| | |
| | | import androidx.lifecycle.Observer; |
| | | import androidx.lifecycle.ViewModelProviders; |
| | | import androidx.work.OneTimeWorkRequest; |
| | | import androidx.work.PeriodicWorkRequest; |
| | | import androidx.work.WorkInfo; |
| | | import androidx.work.WorkManager; |
| | | |
| | | import com.anyun.exam.lib.AYSdk; |
| | |
| | | import java.util.Collections; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | import java.util.Random; |
| | | import java.util.concurrent.TimeUnit; |
| | | |
| | | import me.yokeyword.fragmentation.SupportFragment; |
| | | import safeluck.drive.evaluation.Constant; |
| | |
| | | import safeluck.drive.evaluation.platformMessage.JKMessage0204; |
| | | import safeluck.drive.evaluation.util.Utils; |
| | | import safeluck.drive.evaluation.viewmodels.TimeViewModel; |
| | | import safeluck.drive.evaluation.worker.TimeWorker; |
| | | |
| | | import static androidx.work.PeriodicWorkRequest.MIN_PERIODIC_INTERVAL_MILLIS; |
| | | |
| | | /** |
| | | * 联网训练UI |
| | |
| | | // mapFragment = (MapFragment) MapFragment.newInstance(); |
| | | // } |
| | | // start(mapFragment); |
| | | RoadDriveMapFragment mapFragment = findFragment(RoadDriveMapFragment.class); |
| | | RoadDriveMapFragmentaa mapFragment = findFragment(RoadDriveMapFragmentaa.class); |
| | | MyLog.i(TAG,"查看地图"); |
| | | if (mapFragment == null) { |
| | | mapFragment = (RoadDriveMapFragment) RoadDriveMapFragment.newInstance(); |
| | | mapFragment = (RoadDriveMapFragmentaa) RoadDriveMapFragmentaa.newInstance(); |
| | | } |
| | | start(mapFragment); |
| | | break; |