Android Image Loading *without* a Library - Common Interview Question

Поделиться
HTML-код
  • Опубликовано: 29 ноя 2024

Комментарии • 29

  • @SuboptimalEng
    @SuboptimalEng 3 года назад +11

    Pretty interesting, I never really thought about (or saw videos of) android specific interview questions.
    I figured LeetCode was the standard 🤔

    • @RahulPandeyrkp
      @RahulPandeyrkp  3 года назад +7

      Android dev interviewing depends very much on the company, but in my experience it's usually a combination of leetcode + domain-specific (e.g. questions like this or asking to build something).

    • @BharadwajGiridhar
      @BharadwajGiridhar 3 года назад +1

      @@RahulPandeyrkp Very true. Nice video.

  • @ganeshrajpadhayay3714
    @ganeshrajpadhayay3714 3 года назад

    Glad to find your channel, amazing stuff, keep them coming :)

  • @aabhishek4911
    @aabhishek4911 3 года назад +2

    Nice video , you could have added the bitmap scaling part to avoid OOM incase of huge images

    • @RahulPandeyrkp
      @RahulPandeyrkp  3 года назад +3

      thanks Abhishek! Yes, definitely a lot more to add here. For the bitmap scaling part in particular there's some sample code in the MyMemory video here: ruclips.net/video/nOGsGHw5iuA/видео.html

  • @zeusalmighty6740
    @zeusalmighty6740 3 года назад +2

    Very nicely put video. Keep them coming!

  • @pratiktarade6738
    @pratiktarade6738 3 года назад

    Great Video... Please make full video on bitmap

    • @RahulPandeyrkp
      @RahulPandeyrkp  3 года назад

      anything in particular about Bitmap that you'd like to know about?

  • @clo4k661
    @clo4k661 3 года назад

    Could you please make a course of kotlin beginner to advance? It will really help. Also I see people demotivating you. Don't get demotivate you are doing great.

    • @RahulPandeyrkp
      @RahulPandeyrkp  3 года назад +3

      Thanks a lot. I have a few more Kotlin videos planned, I hope they help!!

  • @mehulbisht9708
    @mehulbisht9708 3 года назад

    Great explanation! What if the interviewer also asks how to implement Garbage Collection that the Image Loading libraries provide for recyclerview list items? Or would it be out of the scope of an interview? :)

    • @RahulPandeyrkp
      @RahulPandeyrkp  3 года назад +1

      Thanks! For a standard 45 minute interview, I doubt that anyone would expect an implementation of it. However, you could prepare a few talking points about things like GC or caching.

    • @khaihoang7420
      @khaihoang7420 3 года назад

      @@RahulPandeyrkp Do they allow outside resources during the interview? I find that the syntax is hard to remember.

    • @RahulPandeyrkp
      @RahulPandeyrkp  3 года назад

      if it's a real coding interview, they should allow outside resources + googling (just like real life interviewing). If it's more of a conceptual/whiteboard test, it may not be allowed

    • @khaihoang7420
      @khaihoang7420 3 года назад

      @@RahulPandeyrkp and i am a codepath alumni. Guess what? U were a very amazing instructor. The way you taught the material was second to none. Hope u will make a series on android latest stacks and practices soon

  • @vengateshm2122
    @vengateshm2122 3 года назад +1

    Shouldn't we close URL connection?

    • @RahulPandeyrkp
      @RahulPandeyrkp  3 года назад

      There is a disconnect on the HttpURLConnection, but not on URLConnection. We close the input stream, don't think there's much else we can do. More details: stackoverflow.com/questions/272910/in-java-when-does-a-url-connection-close

  • @mahmoudayman8660
    @mahmoudayman8660 3 года назад

    really awesome

  • @dubey1akash
    @dubey1akash 3 года назад

    thankyou

  • @techworld3043
    @techworld3043 3 года назад

    Great video ..

  • @shivamsethi3829
    @shivamsethi3829 3 года назад

    Great, thanks