AsyncTask

On Sun, Mar 20, 2016 at 1:08 AM, Anwar Saiah <[email protected]> wrote:

> I'm working on an app that should retreive some data from a web stored
> database. Then this data will be maintained manipulated and such..
> I thought that it would best if I built a java class in my android project
> to hold an object(Student) that will hold the data.
> Then another class Students that will have a linked list of students and a
> http post request object that will retreive the data. Now before I get into
> anymore detail, is this a good practice? You see inside this Students class
> I have to create a new thread that will do the networking and store data
> into the list before displaying it on the UI.
> What is best if so to use for retreiving the info to the list from the
> thread? ThreadHandler, Thread, AsyncTask ?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/android-developers.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/android-developers/77de91f1-8078-47f1-9fad-4864b3c1d8a8%40googlegroups.com
> <https://groups.google.com/d/msgid/android-developers/77de91f1-8078-47f1-9fad-4864b3c1d8a8%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/android-developers.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/android-developers/CABHzXARY_Sih%3DoSKdAhEf15CsdRp-Hshe1d86Yp3_rGNEpp32Q%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to