extra logs
This commit is contained in:
@@ -145,6 +145,7 @@ public class FitnessActivity extends RobotActivity implements RobotLifecycleCall
|
|||||||
*/
|
*/
|
||||||
public void fetchExerciseAsync(Exercise.ExerciseFetchHandler onSuccessfulFetch, Exercise.ExerciseFetchHandler onFailedFetch) {
|
public void fetchExerciseAsync(Exercise.ExerciseFetchHandler onSuccessfulFetch, Exercise.ExerciseFetchHandler onFailedFetch) {
|
||||||
// For some stupid reason we cannot perform network operations on the main thread.
|
// For some stupid reason we cannot perform network operations on the main thread.
|
||||||
|
Log.e("fetchvideo", "video fetched");
|
||||||
// therefore we'll have to do it like this...
|
// therefore we'll have to do it like this...
|
||||||
new Thread(() -> {
|
new Thread(() -> {
|
||||||
Exercise exercise = ExerciseManager.fetchExerciseFromDatabase();
|
Exercise exercise = ExerciseManager.fetchExerciseFromDatabase();
|
||||||
|
Reference in New Issue
Block a user