RecyclerView OnClickListener to New Activity

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ส.ค. 2024

ความคิดเห็น • 290

  • @codingwithmitch
    @codingwithmitch  5 ปีที่แล้ว +10

    WARNING!!
    I don't use the "best-practice" way to detect clicks to a RecyclerView in this video. Watch this video for the best-practice way: th-cam.com/video/69C1ljfDvl0/w-d-xo.html

    • @ankitrathore1263
      @ankitrathore1263 5 ปีที่แล้ว

      Hello
      Can you make a tutorial on dynamic (parsing json data ) recyclerview inside fragment.
      Please I really need for this to complete my project.

    • @geekygamer7528
      @geekygamer7528 4 ปีที่แล้ว +2

      Please do the same program on two different fragment instead of activity.

    • @elishamaturah3323
      @elishamaturah3323 4 ปีที่แล้ว

      can i use this project for my app sdk 29

    • @akshayjadhav869
      @akshayjadhav869 4 ปีที่แล้ว

      Please add with image slider on click to detail activity

  • @zeuskumar7495
    @zeuskumar7495 6 ปีที่แล้ว +31

    I think this the best video on android tutorial i have seen. Good things are:
    1.You started to make video from where code will start and gave reasons why we are using this. Its good for beginners n for guy who didn't understand the flow properly.
    2. Not only I learned to use recycler view but also good practice to write code for android and learned basics of ui design.
    I will check if u have made any video on fancy ui design.
    Thank you so much for making simple videos. Keep going.

  • @MelColton
    @MelColton 6 ปีที่แล้ว +5

    I just wanted to say that I find your posts to be, probably the best around. I’m new to Java and Android programming and your stuff really, really helps my confidence. You make the complex feel manageable and your code is clean. So if I’m stuck and follow your code, I’m unstuck in a couple of hours. Thanks Mitch. Whatever you do do, don’t stop this.

    • @codingwithmitch
      @codingwithmitch  6 ปีที่แล้ว

      Thank you for your kind words :)

    • @MelColton
      @MelColton 6 ปีที่แล้ว

      CodingWithMitch you are more than welcome fella. Now... if you can school me on how to make an onClick Listener event load data in Firebase I will not only give you great feedback, I’ll buy you a beer. And that’s no mean promise when you consider that I’m in London, UK 😄

    • @codingwithmitch
      @codingwithmitch  6 ปีที่แล้ว

      Mel Colton hahaha. I'm not sure what you mean? Firebase is a developer tool. You can't set an on click listener to it. Can you be more specific?

  • @seyidtakele8158
    @seyidtakele8158 4 ปีที่แล้ว

    normally i dont subscribe that much , but i can't go without subscribing this channel..the best channel of its kind .

  • @abeerabidraja6458
    @abeerabidraja6458 6 ปีที่แล้ว +1

    Thank you Very Much Sir... I have been wasting almost 3 to 4 hours to open new activity by clicking a button and you solved it by a blink of an eye thank you very much

  • @jason18401
    @jason18401 6 ปีที่แล้ว +2

    Thanks so much Mitch! I've watched around 5 different videos and by far this one is the easiest to comprehend!

  • @bibinjoseph3812
    @bibinjoseph3812 5 ปีที่แล้ว +2

    Every single piece of information sounds helpful to me. I was stuck in my project and this video helped me a lot. I don't usually hit the subscribe button, for you , I definitely clicked. Even I learned more things from your channel than in my android class. Thanks for giving a helping hand for people like me. Your videos are a big inspiration to get in more depth with Android. Game on now!

    • @codingwithmitch
      @codingwithmitch  5 ปีที่แล้ว +2

      You should watch this (free) course. It's great for beginners. Let me know if it teaches you more than in your classes :P. codingwithmitch.com/courses/sqlite-room-persistence-android/

    • @bibinjoseph3812
      @bibinjoseph3812 5 ปีที่แล้ว

      @@codingwithmitch Sure. Thanks very much.

  • @nafisaalam4164
    @nafisaalam4164 3 ปีที่แล้ว +1

    thank you so much, man. This little piece was really helpful for me. I was going through stack overflow and all the solutions were driving me crazy.

  • @shawnlanthier8619
    @shawnlanthier8619 5 ปีที่แล้ว

    Thanks so much for this Mitch & Samir. I learned more about recyclerView from your videos than any I've run across in weeks. Very clear and detailed but not boring. I plan to watch many more.
    Oh but you can keep your picture of frozen lake, I live in Ottawa area on a lake and it's been -25deg for the last 3 days. LOL

  • @ravirajkudal5626
    @ravirajkudal5626 4 ปีที่แล้ว +1

    Thanks bro u r genius 👍👍 Your all playlist helps a lot me for making my projects.. Love from India ❤❤

  • @kalsoomasghar1344
    @kalsoomasghar1344 4 ปีที่แล้ว

    You are honestly the besttttt. Every video that you make works

  • @ghimanshuss
    @ghimanshuss 6 ปีที่แล้ว

    What i did was declared linear layout object for the card then found it by id. Then
    Holder.linearLayout.setonclicklistener....
    And inside this listener i used switch position.
    I am just very new to programming u suggested this method which u just showed in video. But that went above my head and i replied ok thanks fearing that i might sound silly or dump if i ask u again.😅 Actually i am learning from a channel slidnerd for the basics of android than i have plans to start learning from ur channel so that i can understand u better. Thanks for this tutorial.🙏 From India.

  • @keithlockey7129
    @keithlockey7129 4 ปีที่แล้ว

    Amazing video. Very clear and well thought out. Best android video I have watched thus far.

  • @chonchilo
    @chonchilo 4 ปีที่แล้ว

    Thanks duude! I adapteded to my app with json response - mysql and works just fine!

  • @akshayjain4173
    @akshayjain4173 5 ปีที่แล้ว

    I m from India and saw the video totally awesome ....

  • @jesselima_dev
    @jesselima_dev 6 ปีที่แล้ว

    Thanks for your videos. helped me a lot. Very straightforward solution. I had tried others tutorials and many of them just did not work because many changes were required. I tried many ways and many times and the onClick just did not work (with no app crash). I was the best solution so far. I saw some courses you did on Pluralsight and I will take the series. You just made a selection of many things I need to use in a forthcoming project.

    • @codingwithmitch
      @codingwithmitch  6 ปีที่แล้ว +1

      Jesse Lima cool. I'm glad my videos are helpful. The Pluralsight courses are much higher quality

    • @jesselima_dev
      @jesselima_dev 6 ปีที่แล้ว

      Oh yes, They are! If you guys want to learn Android/Firebase, just go to pluralsight.com and search for "android firebase" by Mitch Tabian. Good teacher, great content!

  • @mmm2007j
    @mmm2007j 6 ปีที่แล้ว +1

    Nice video,I write your Staggered RecyclerView first,and then add this video's content.

  • @codinginflow
    @codinginflow 6 ปีที่แล้ว +1

    Don't set the onClickListener in onBindViewHolder. This way it will be called every time a new row appears on the screen, which is a costly operation. The correct place is the Viewholder constructor. Nice video anyways!

    • @codingwithmitch
      @codingwithmitch  6 ปีที่แล้ว

      Show me the data that makes it a costly operation. I'm not doubting you, but I'd like to see proof.
      Another reason you'd want to put it in the OnBindViewHolder method is to access variables. It can complicate things if you add it in the ViewHolder. You'd need methods to pass the variables to the viewholder if you wanted to do things with them.

  • @logoutofyourgmailaccountne4858
    @logoutofyourgmailaccountne4858 2 ปีที่แล้ว

    Dear sir I am extremely pleased and thank you for all of your series of videos for Recycler View which give us a lot of information sir I would like request you to make a video for generating a multiple paged pdf containing all records in the table not for only one particular record. I will remain thankful forever to you if you make this video for android learners

  • @jameskrall8411
    @jameskrall8411 5 ปีที่แล้ว +4

    When I create the onClickListener, it creates perfect, but when I try to click on one of my icons, the app crashes

  • @christopherteddymienarto9115
    @christopherteddymienarto9115 4 ปีที่แล้ว +3

    Hello, Thank you for Explaining about RecyclerView. God Bless You!

  • @samirdesigner3324
    @samirdesigner3324 6 ปีที่แล้ว +19

    very thanks
    but if from second page show other text is good
    and if get text in strings by array to list view and in second page show second array text
    thanks

    • @samirdesigner3324
      @samirdesigner3324 6 ปีที่แล้ว +1

      Mitch Tabian my bro i want get text array to recycle view like dictionary en vs in app and like app story kids

    • @codingwithmitch
      @codingwithmitch  6 ปีที่แล้ว +15

      Samir Dev I have no idea what your trying to say

    • @sagardudhat8263
      @sagardudhat8263 5 ปีที่แล้ว +1

      @@codingwithmitch we want some other details means you put the same data on the onclick event ..... but we want more details which not show in recycleveiw...

    • @Armin-cu9gj
      @Armin-cu9gj 3 ปีที่แล้ว +1

      @@codingwithmitch He doesn't want to pass the same text from the previous activity , btw. is it possible to make another recycler view (similar one) when we click on one of these Countries (something like: Countries -> Towns)?
      Cheers

  • @zhaojiali8382
    @zhaojiali8382 5 ปีที่แล้ว

    thanks a lot for the tutorial, really useful and clear. Even if I'm a noob in Android development. I can also understand clearly what are you doing here, and can learn a lot of useful things. Than you so much and will follow your last vedios

  • @graphikcreativezone
    @graphikcreativezone 3 ปีที่แล้ว

    You are a life saver Sir. Thank you for this video well explained !!

  • @imanaski1878
    @imanaski1878 5 ปีที่แล้ว +1

    Best tutorial ever....I hope you keep going

  • @syednayyar
    @syednayyar 4 ปีที่แล้ว

    Great Tutorial as always...
    and two bugs in android studio or android / google
    1, If you dont add activity in manifest it will crash
    2, if you dont check intents has extras your app will crash ... WTH ..
    i will not say Why Cant Google not handle this
    i would say its a bad design ... simple as ...
    by the way i am lover of android since 2009 April as well as badass Critique as well.

  • @dickyzuerst2828
    @dickyzuerst2828 5 ปีที่แล้ว

    the best tutorial complete with explanation ...
    we are waiting for the next video tutorial sir.

  • @user-fy1iq6wq2i
    @user-fy1iq6wq2i 5 ปีที่แล้ว +1

    I would give you a big thumbs up! Really helpful! Big thank from China!

  • @jesselima_dev
    @jesselima_dev 6 ปีที่แล้ว

    Hi Mitch,
    Android studio complains when declaring " final int position" like this: onBindViewHolder(MyAdapter.MyViewHolder holder, final int position). The Android Studio give some useful information about it and offers a possible solution.
    The warning is:
    "Do not treat position as fixed; only use immediately and call holder.getAdapterPosition() to look it up later.
    RecyclerView will not call onBindViewHolder again when the position of the item changes in the data set unless the item itself is invalidated or the new position cannot be determined.
    For this reason, you should only use the position parameter while acquiring the related data item inside this method, and should not keep a copy of it.
    If you need the position of an item later on (e.g. in a click listener), use getAdapterPosition() which will have the updated adapter position."
    How I solved:
    .. onBindViewHolder(MyAdapter.MyViewHolder holder, int position){...
    then I creates a new int variable from the adapter positianfinal ===>> int adapterPosition = holder.getAdapterPosition();
    Then I use this adapterPosition inside the setOnClickListener like you teach.
    I don't know if what I did is the best approach. But thinking about how the adapter works and about the method getAdapterPosition() it makes sense.
    What do you think?

    • @codingwithmitch
      @codingwithmitch  6 ปีที่แล้ว

      It's telling you that you need to use "getAdaperPosition" instead of creating a variable. Since the variable would be static and the position is not.

  • @XMrNimX
    @XMrNimX 4 ปีที่แล้ว

    Im a beginner
    Trying to get the code for the following situation
    Edittext1 = current stock of proteinbars Edittext2 = daily consumed proteinbars
    Textview1 (days left) = how many days i have left ( edittext1 / editext2 )
    Textview2 (Reorder date) = current date + textview1 - 7 days (delivery time)
    Reorder date displayed

  • @krispinugget
    @krispinugget 4 ปีที่แล้ว

    In your next Video, i think you didnt mention about the Android Manifest, so for everyone who has crashes when when starting a new Activity, Make sure you add the Android Manifest

  • @omkarpendkalkar1110
    @omkarpendkalkar1110 ปีที่แล้ว

    The exactly what I wanted !! Thanks Mitch !

  • @zen-bi7fe
    @zen-bi7fe 5 ปีที่แล้ว

    amazing videos by you ..... grabbing every basic logic of yours .. a great thanks to you

  • @kostasnikoloutsos5172
    @kostasnikoloutsos5172 6 ปีที่แล้ว

    Very good video. I think that you explained some things better that the android developers documentation, oh and thanks for the shortcuts for android studio.
    I would like to see a video from you that will use RecycleView in combination with CardView, elevation and ripple effects whenever user clicks an item in recycle view.
    +1 subscribers

  • @kajal091s
    @kajal091s 5 ปีที่แล้ว +2

    Thank you,
    This is exactly what i was looking for.

  • @elelan
    @elelan 6 ปีที่แล้ว

    This video helped me a lot with my project
    please keep up the good work
    Thank you

  • @giftmusanza9205
    @giftmusanza9205 4 ปีที่แล้ว +1

    Thanks for your videos they really help a lot. How can I display images from drawable and pass them to a new activity when item is clicked? Instead of using the internet, I want to design an offline app

  • @my_dixie_rect8865
    @my_dixie_rect8865 5 ปีที่แล้ว

    Another brilliant video. Thanks Mitch!

  • @Yasinyabis97
    @Yasinyabis97 5 ปีที่แล้ว +2

    Great tutorial, helped in my project.

  • @chris.eminence
    @chris.eminence 4 ปีที่แล้ว

    Thank so much for the tutorial, exactly what I have been looking for.
    Please sir I a little enlightenment.
    After clicking on the recycler View items, we get to the 2nd activity as expected.
    I want to request, please how can I add a button to do something on the 2nd activity of each recycler view item clicked.

  • @maheshmahajan7894
    @maheshmahajan7894 5 ปีที่แล้ว +2

    Love you Brother your are the best. Thanks you.

  • @prashantupadhyay2301
    @prashantupadhyay2301 5 ปีที่แล้ว

    Nice work 👌.... using logt is the best one😊😊❤️❤️❤️

  • @vahidhoseini1723
    @vahidhoseini1723 3 ปีที่แล้ว

    great, good job mitch.

  • @benjaminklunkim4549
    @benjaminklunkim4549 4 ปีที่แล้ว

    Thank you for the awesome tutorial. Also, please make a video on how to add Search on this recyclerview list

  • @rollymagno698
    @rollymagno698 2 ปีที่แล้ว

    once you are in your new activity after the onclicklistener, how would you approach swiping left or right to move through the children views without going back and clicking the next or previous one?

  • @BiPolish13
    @BiPolish13 5 ปีที่แล้ว

    This video helped me a ton. Thank you so much for making it.

  • @greentechnology7346
    @greentechnology7346 5 ปีที่แล้ว

    Great tutorials Mitch! Learned a lot from this video. I am looking for your video where the Adapter takes the data (JSON) from a DB instead of manually including it to the code, but I can't find it though. Thanks!

  • @goldenave2611
    @goldenave2611 5 ปีที่แล้ว +1

    Hey what if i wanted to display sone additional info in the onclick activity for each image how do i do that?

  • @dfap12345
    @dfap12345 5 ปีที่แล้ว +1

    Amazing stuff! Great job!

  • @bruceleeroy8302
    @bruceleeroy8302 5 ปีที่แล้ว

    This video is fantastic but I may have missed something. Where do you store the new images and text when you click on the main activity? When I click, I just get the generic image and text that we made in the gallery layout file.

  • @z_xgaming3785
    @z_xgaming3785 3 ปีที่แล้ว

    this video helped me in my project thanks alot

  • @ivan_lebedev
    @ivan_lebedev 4 ปีที่แล้ว

    Thanx, from Russia!

  • @sharathchandra6166
    @sharathchandra6166 6 ปีที่แล้ว +1

    Great video! Thanks a lot! keep up the good work.

  • @bekmakhmudov4309
    @bekmakhmudov4309 3 ปีที่แล้ว

    Thank you, everything is good . Yet, can you do more practise with setOnClicklistiners in recyclerview because it comes really hard to many of my friends as well

  • @beresfordgroenewaldt7290
    @beresfordgroenewaldt7290 5 ปีที่แล้ว

    Awesome video @CodingWithMitch. is there a way to do it with drawable images and not with Glide?

  • @elishamaturah3323
    @elishamaturah3323 4 ปีที่แล้ว

    Thanks alot Mitch you helped me all the way

  • @mohitbhargav5777
    @mohitbhargav5777 6 ปีที่แล้ว

    Well explained. Thanks.,
    how can I show full description of the second page for all list view??

  • @chiragkumar1968
    @chiragkumar1968 4 ปีที่แล้ว

    8:00 This was my problem. Im dumb man. Thanks buddy!!

  • @dyaa_unison5580
    @dyaa_unison5580 6 ปีที่แล้ว +1

    How can i replace glide for just accessing darwable ?
    \

  • @atila_tv
    @atila_tv 6 ปีที่แล้ว +1

    Excelent video, i would like to know how to set listeners to 5 different activities, i would really appreciate the help, again , thanks for the video

  • @MedyGames
    @MedyGames 6 ปีที่แล้ว

    how to enable these horizontal lines that seperate code in android studio ?

  • @compumarana9770
    @compumarana9770 2 ปีที่แล้ว

    Thanks bro! Excellent video

  • @kevinwalker1282
    @kevinwalker1282 5 ปีที่แล้ว

    Hey Mitch - if I have a RecyclerView that is inside a Fragment, can I do the same thing to detect the click and then send those details to another Fragment? Or perhaps once I click inside the RecyclerView, I then send that Intent to my MainActivity and start a separate Activity from there.

  • @khaidemsandip4151
    @khaidemsandip4151 6 ปีที่แล้ว +1

    When click on an item on MainActivity, can you then send an intent to another activity displaying a list of items, not a single item?

  • @tahamalas1322
    @tahamalas1322 6 ปีที่แล้ว

    Hello Mr. Mitch .. I just wanted to make sure of something.. When I use external libraries from github like Glide, Retrofit or even Circle Image View library.. Do we have to mention the libraries that I used in my app if I want to publish my app on Play Store. And if not.. What does "license" stand for at the end of each github repository? Thanks for your awesome videos

    • @tahamalas1322
      @tahamalas1322 6 ปีที่แล้ว

      Thanks!.. Honestly I just subscribed to your channel yesterday and it's super awesome so far.. You're teaching us in a very professional way explaining each step. Thanks for your hard work, and keep it up!

    • @tahamalas1322
      @tahamalas1322 6 ปีที่แล้ว

      And I hope you make a new tutorial about animations in Android.

  • @teamlvm3805
    @teamlvm3805 4 ปีที่แล้ว

    Hi Mitch, can you explain why this is not the best practice way?

  • @erickloningo2252
    @erickloningo2252 5 ปีที่แล้ว +1

    Thanks man this is awesome

  • @sds980
    @sds980 2 ปีที่แล้ว

    Thanks sir this tutorial is very helpful 💜💜

  • @nexgenstemschool
    @nexgenstemschool 5 ปีที่แล้ว

    Great video! Just a thought - any reason why you create layout first rather than just create a new Activity which creates/names the activity for you so you don't have to follow a convention? Or was this a more recent feature?

    • @codingwithmitch
      @codingwithmitch  5 ปีที่แล้ว

      It was added in the last year or so. I just do this out of habit

  • @rockson6839
    @rockson6839 5 ปีที่แล้ว +1

    Thanks so much, but please can you make a video on how to get each RecyclerView position so that when i click each view it takes me to different activity that i have designed.(eg. I have 4 layout designed and i want to asign each layout to the Recycleview) not just showing the image and name in the Recycler View

    • @codingwithmitch
      @codingwithmitch  5 ปีที่แล้ว +2

      I should do that actually. I will in the new year. Probably around Jan 5th

    • @rockson6839
      @rockson6839 5 ปีที่แล้ว

      @@codingwithmitch aw can't wait I have been stuck for 2 days now searching for how I can implement that in my code ...I'm still not getting it .

    • @sitibalqis8032
      @sitibalqis8032 5 ปีที่แล้ว

      Still waiting for the video to be released...

    • @codingwithmitch
      @codingwithmitch  5 ปีที่แล้ว

      @@sitibalqis8032 it is. Search my channel for recyclerview oncclicklistener

    • @sitibalqis8032
      @sitibalqis8032 5 ปีที่แล้ว

      @@codingwithmitch I couldnt find it. I only found 4 videos under RecyclerViews which are RecyclerView, RecyclerView OnClickListener, Staggered and Horizontal. What I'm trying to say is that I dont know how to pass to different activity when I click on each view. For example, if I have 6 views then I want to pass to each different activity for each views. I've tried the switch case but somehow there are errors everywhere and I dont know how to fix it T.T

  • @arturfil
    @arturfil 6 ปีที่แล้ว

    Hey mitch, I am trying to do the same thing but with local images rather than images form the internet. I also saw your list view tutorial where something similar was done. For some reason I cannot get the RecycleView to display local images. Is there a simple way to do this?

  • @patriciadeniseordona5918
    @patriciadeniseordona5918 5 ปีที่แล้ว

    My recyclerview is placed in a fragment. How can I go back from the New Activity to the RecyclerView Fragment?

  • @ravronz9677
    @ravronz9677 5 ปีที่แล้ว +1

    thank you sir i have made it work in my app and its great

  • @rehanakbar587
    @rehanakbar587 5 ปีที่แล้ว +1

    can u make multiple recyler view with on click

  • @adamyuristianto9269
    @adamyuristianto9269 6 ปีที่แล้ว +1

    hay @CodingWithMitch, how add a TextView in act_gallery when a list item (layout_listitem) is clicked? thanks u..

    • @codingwithmitch
      @codingwithmitch  6 ปีที่แล้ว

      You just want a textview on the screen under the image or something?

  • @MrTitu017
    @MrTitu017 5 ปีที่แล้ว

    Hi, Mitch, by using OnClickListener on item (recyclerview), how can I show another recyclerview into new activity? I really need to solve this problem. Can you help me with it, please? and thank you for this tutorial

  • @Ivan-qb9cs
    @Ivan-qb9cs 6 ปีที่แล้ว +1

    Great content ! keep up the good work :)

  • @ihorzhylchuk1191
    @ihorzhylchuk1191 6 ปีที่แล้ว

    How can I add a "Next" button in the opened Activity and set Onclick to display next item from a List? Any solutions. Thanks

  • @sahilrally4491
    @sahilrally4491 5 ปีที่แล้ว

    A. Are you not loading image again in GalleryActivity ?
    B. IMHO, it is good idea NOT to check and let application break if there are NO Extras but expected . Its a development time bug.

  • @67Diadem
    @67Diadem 3 ปีที่แล้ว

    Great tutorial!! I have a question and I wanted to implement that on my project, how will you put a custom back button on new detail activity so that whenever a user press on custom back button then it goes back to recycler view list items. ..? Can you please help me with that?

  • @619shaan
    @619shaan 6 ปีที่แล้ว

    I have added 5 cardviews to my main activity.xml. Onclick cardview should display new popup layout. How to implement?

  • @drallisimo34
    @drallisimo34 5 ปีที่แล้ว +1

    Cool stuff!!! Bravo!

  • @CUPAXXHD
    @CUPAXXHD 4 ปีที่แล้ว

    how to use image not from internet ???

  • @Rio-tg1rj
    @Rio-tg1rj 5 ปีที่แล้ว

    This video help me a ton! Thx bro

  • @kristopherortiz7516
    @kristopherortiz7516 6 ปีที่แล้ว

    hello, i'm doing an example of my own and i have used local images from the app . i declared it as an Integer Array. How can i pass it to the new activity being opened? thank you.

  • @augstudio1138
    @augstudio1138 6 ปีที่แล้ว

    Hello Sir. The video is good and helpful, I even have mine running now.... But how do I set the gallery activity to download the Images and set it as wallpaper?

  • @arifhidayatullah6631
    @arifhidayatullah6631 5 ปีที่แล้ว

    Matur suwun pakdhe. . . .
    Thank you Mr. . . :D

  • @anubhavwalde3503
    @anubhavwalde3503 5 ปีที่แล้ว

    I am beginner in Android
    In a recycleview onclicklistener item 1 should display an activity 1 and on item 2 should display activity 2 . How can I do it. Can u help plzzz

  • @ldcl2506
    @ldcl2506 6 ปีที่แล้ว

    After going to the next activity where we see the image in high resolution and the text I would like to implement a button to edit that data, how could I do so by clicking on that button to take me to another activity called update and load the same data (Imageview, textview, but now as editext) thanks

  • @orhanavan7222
    @orhanavan7222 6 ปีที่แล้ว +1

    I'm really grateful to you

  • @sreeharikollamattam2825
    @sreeharikollamattam2825 4 ปีที่แล้ว

    Thanks very much brother

  • @Raptor-jv7fi
    @Raptor-jv7fi 6 ปีที่แล้ว

    Thank you man! Thanks a million!

  • @rohitpandey1958
    @rohitpandey1958 2 ปีที่แล้ว

    hey i want to do this when i click on the button to select the specific image
    can you tell me the code

  • @saadiftikhar8248
    @saadiftikhar8248 5 ปีที่แล้ว

    sir plz help me in recyclerview i when i click on recyclerview and open te new activity thats work fine when i clicked back recyclerview not getting the same position where i left how can i solve this

  • @madguy1967
    @madguy1967 4 ปีที่แล้ว

    I want craete it from another XML file not from activity.xml file it's not coming please help !!

  • @ayushsrivastava5211
    @ayushsrivastava5211 5 ปีที่แล้ว

    If on clicking I want a fragment to open and I have lots of data to show. Then what method is best for passing data to fragment apart from through bundle(like here you have used extras to pass data)?

    • @codingwithmitch
      @codingwithmitch  5 ปีที่แล้ว

      If it's a lot of data make the query again. Or use an interface to get it from the parent activity.

  • @josefermin8929
    @josefermin8929 5 ปีที่แล้ว

    Greetings.
    Could you help me solve a problem in a project?
    I need to click on a RecyclerView that is hosted in a fragment within a viewpager, when I click on any of the items in the RecyclerView I need this to open a new Activity in detail

    • @codingwithmitch
      @codingwithmitch  5 ปีที่แล้ว

      What's the problem? Just just attach an OnClickListener and do the thing

  • @b-tube1266
    @b-tube1266 ปีที่แล้ว

    load next and previous item after clicking next button and previous button in galleryActivity without going back to MainActivity

  • @georgematsos4416
    @georgematsos4416 4 ปีที่แล้ว

    How can we add content in the new activity related to the item clicked (same layout but different content)
    Thanks!

  • @nirajmunot6700
    @nirajmunot6700 4 ปีที่แล้ว

    hey thanks for this great tutorial! can you please tell me how can i add different descriptions for each of the page?