An open API service indexing awesome lists of open source software.

https://github.com/mdecker-mobilecomputing/android_blinkerpause

Android app demonstrates how to use lifecycle methods of class Activity to stop a thread while the activity instance is not visible.
https://github.com/mdecker-mobilecomputing/android_blinkerpause

android github-actions

Last synced: about 2 months ago
JSON representation

Android app demonstrates how to use lifecycle methods of class Activity to stop a thread while the activity instance is not visible.

Awesome Lists containing this project

README

          

# Android-App "Blinker-Pause" #



Dieses Repo enthält eine Android-Studio-Projekt für eine native Android-App mit Java.
Der Quellcode ist als Übungsaufgabe zu modifizieren:
das blinkende Element auf der `MainActivity` soll aufhören zu blinken, wenn diese Activity
durch die anderen Activity in der App überdeckt wird (das Blinken ist ja dann nicht mehr
sichtbar, so dass die Blinker-Schleife CPU-Zeit verschwendet).


----

## Screenshots ##


![Screenshot 1](screenshot_1.png)   ![Screenshot 2](screenshot_2.png)


----

## License ##


See the [LICENSE file](LICENSE.md) for license rights and limitations (BSD 3-Clause License).