GoConqr hat ein neues Design! Sag uns, wie es dir gefällt.

Karteikarten

Threads

Alex Neves Computer Science Bachelors Degree Englisch 5,0Durchschnittliche Bewertung 5,0 von 5 (1 Bewertung) 9 Karten

Karten in diesem Stapel (9)

  1. 1How many threads does an Android Application have?One
  2. 2Each activity has its own thread: True or False?False, they all share the thread of the application process they belong to
  3. 3What is a Looper?A looper is a queue of events to be processed by an application
  4. 4Give an example of how the OS uses LoopersTo queue UI interactions for a particular application
  5. 5What happens if an event takes longer than 5 seconds to process?An "Application Not Responding" Toast appears, giving the user a chance to terminate the application
  6. 6What are the 2 golden rules related to threading on Android?Do not block the UI thread and do not access the UI from outside of the UI thread
  7. 7What is a Handler?An object used to communicate with a specific thread
  8. 8How are Handlers communicated with?By queueing messages / runnables to be processed
  9. 9How can we safely access the UI from outside of the UI thread?By executing a runnable using Activity.runOnUiThread()

Informationen

Beschreibung
Bachelors Degree Computer Science (Mobile Device Programming) Karteikarten am Threads, erstellt von Alex Neves am 05/01/2016.
Erstellt von
Alex Neves
Aufrufe
29
Tags
mdp
Bewertung
Durchschnittliche Bewertung 5,0 von 5 (1 Bewertung)

Feedback

Worum geht es?

Wie gefällt dir das neue Design?

Dein Eindruck