To become a zen-ninja of writing threaded code, you need to understand how the Android platform uses threading at the system level, and how that influences …

Nguồn:https://u-os.org/

Xem Thêm Bài Viết Khác:https://u-os.org/cong-nghe

Author

30 Comments

  1. Great video! Finally, i think i got it.. thank you so much! Just one thing.. what is class?

  2. siavash rabiepour Reply

    please emits more tutorial videos. i like your tutorial style

  3. You should make a tutorial about how to pack in loads of info in a very short video. Great work!!

  4. Though I could not understand everything (french developper) I learned many things. Thanks for this video !

  5. Hello all, I have put together a study of Android UI to OpenGL threading – as part of my next step in hooking up a UI to an OpenGL 3D graphics app I am developing. It uses a Handler to communicate up from the OpenGL thread to the UI thread, for example. Here is the study on Github: https://github.com/jimandreas/UIandOpenGLthreading and here is the app as an Alpha test app on the Play store: https://play.google.com/store/apps/details?id=com.jimandreas.handlerstudy.uithread&hl=en

    Thank you again to Colt for all of his work in bringing visibility into the complex world of Android performance!

  6. GerryStilton Reply

    Colt, thanks for sharing, that was great stuff. I would suggest to lengthen the tutorial about 10-15 min a piece for short intros and perhaps an in-depth one to 30 mins that would really be great.

  7. saeed shahini Reply

    Plzzzzzzzzzzz speak slower, it's like you want end this tutorial fast and go party with your friends!!!

  8. Programming Heights Reply

    Please shift your technology java to another open like g++ create yourself where code like python and jquery, cause java is nothing but a headache. No comments please

  9. oruj ahmadov Reply

    omg dude speak little slowly. i literally put video on slow mode.

  10. Hélder Vasconcelos Reply

    If anyone interested on Multi-Threading Programming for Android.(AsyncTask, Looper, Loader,HandlerThread, RxJava, GCM,JNI Multithreading). Please check this book by Packt Publishing. https://www.packtpub.com/application-development/asynchronous-android-programming

  11. Igor Ganapolsky Reply

    RxJava can load asynchronous data in a way that is both efficient and safe, even in cases where the data is loaded into objects whose lifecycle we do not control (e.g.,
    Activitys, Fragments, etc.).

  12. Roman Medvid Reply

    Excellent as always but I have a subtle feeling that I heard part of this video in a previous video )

  13. +Colt McAnlis Be better, if you could publish some short article about every your video in Medium as do some your colleagues 🙂

  14. Felix Salazar Reply

    I'm gonna drop the bomb: What about forgetting all of this and using Rx????

  15. Martin Cazares Reply

    Your skills to convey the idea is amazing dude, great job! all the people involved in these tutorials….

  16. CopernicoTube Reply

    A thing that Android need to improve is turn its the threading model more accessible. If you need to put just some code lines to run of from main thread you have a pain on head.

    Is not so clear what thread your handler is running (thanks Colin! This few minutes help us), Async tasks demands so much boilerplate code (to run just a line of code on a worker thread, you write dozens more) and it is not automatically aware of your Activity lifecicle.

    IntentServices are so much better, but you need to write an entire class and register it on manifest file! :

    I dream everyday with a way to just anotate a method with some directives and "bam", the code inside goes to a lifecycle aware worker/service thread, without fuss.

  17. David Wittenbrink Reply

    "Make sure we're all on the same page" – I see what you did there 😉

Write A Comment