Lab10 - of Bookmarks to be loaded simultaneously in...

Info iconThis preview shows pages 1–5. Sign up to view the full content.

View Full Document Right Arrow Icon
Threading CMSC 436 Lab 10 Derek Juba
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Threading In this lab you will revisit loading Bookmarks with a Content Provider. This time, however, the Bookmarks will be loaded in a different thread so that other tasks can be performed while they are loading. The threading should be done using the AsyncTask class.
Background image of page 2
Threading The activity user interface should allow for two different sets
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 4
Background image of page 5
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: of Bookmarks to be loaded simultaneously in different threads. Threading A progress bar should advance while the Bookmarks load. Since the Bookmarks load very quickly, you should simulate a long loading operation by using a loop with a sleep statement. Threading Once the Bookmarks are loaded they should be displayed in the TextViews....
View Full Document

Page1 / 5

Lab10 - of Bookmarks to be loaded simultaneously in...

This preview shows document pages 1 - 5. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online