Card View to New Activity | Android Studio Latest Version

Card View to New Activity | Android Studio Latest Version

With Sam

4 года назад

45,464 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

Yash Tarale
Yash Tarale - 26.02.2023 13:13

perfect

Ответить
Feeling Paper Company
Feeling Paper Company - 02.01.2023 09:34

How can I make it in a fragment?
Java class is different...

Ответить
Abraar Hikmal
Abraar Hikmal - 13.11.2022 08:24

thank you

Ответить
Bhupendra Bachhav
Bhupendra Bachhav - 27.10.2022 05:36

Thank you

Ответить
Raza
Raza - 18.10.2022 16:07

I added card view recycler view how can i go to next activity after click on a specific recycler view cardview❓

Ответить
Iqlima Rahmawati
Iqlima Rahmawati - 16.08.2022 15:09

thank youuu!!!

Ответить
rolly magno
rolly magno - 23.07.2022 04:52

once you are in your new activity, can you swipe between activity? say you clicked card view 2, if you swipe left on that activity, can it go to activity 1 while swiping right will send you to activity 3?

Ответить
Shamim Rokon
Shamim Rokon - 20.07.2022 18:02

thank you. done

Ответить
BRYAND CHE
BRYAND CHE - 19.06.2022 17:47

Thank you so much. Was wonderful.

Please how do you do the same thing but with the cards in a fragment 🙏🙏

Ответить
cristian ivan VALDEZ SOLIS
cristian ivan VALDEZ SOLIS - 17.06.2022 16:47

muchas gracias

Ответить
Aditi Tibile
Aditi Tibile - 23.05.2022 12:18

🤩woah!!!! THANK YOU VERY MUCH....this video helped me alot😀

Ответить
Raj Kumar
Raj Kumar - 26.03.2022 20:49

Helpful. Thank you sir

Ответить
ハハハ
ハハハ - 13.03.2022 20:27

Thanks a lot man, very helpful !

Ответить
A
A - 23.12.2021 14:32

thank you sir. Your example was the one i looking for. Thank you again.

Ответить
Aziz
Aziz - 16.11.2021 21:24

You are doing great work
Keep it up♥️♥️♥️

Ответить
Aziz
Aziz - 16.11.2021 21:22

Please sir Can you put media player with clicked Cardview Activity ????

Ответить
kaylin naidoo
kaylin naidoo - 14.11.2021 02:42

Thank you. I have a question , how would you display values from the database like mysql onto those cardviews

Ответить
Nayan Bawane
Nayan Bawane - 07.11.2021 01:08

I want the user to do this: when they select an item from the first spinner and the item on the other spinner and click on the button they get the result in a TextView. How can I do that?





I created already two spinner , TextView and one button. For example: if the user select from the first spinner their name and the second spinner their id, when they click to the button the text view will show their telephone number .

Ответить
one of homosapien
one of homosapien - 25.10.2021 07:17

Hello

Ответить
Lee Cassidy
Lee Cassidy - 15.10.2021 02:38

Thankk yoouuu!!!

Ответить
Shravani Kadam
Shravani Kadam - 06.10.2021 07:49

Thankyou sir, the video was really helpful.I wanted to ask how could I implement the same by having only one activity ,and replacing its content depending upon the different cardviews

Ответить
Aditya Dahat
Aditya Dahat - 26.09.2021 10:56

Thanks for the video🙏🙏

Ответить
Daniel Mwinzi
Daniel Mwinzi - 14.09.2021 09:37

i have a cardview in my app that is created from a on click of a button how can i make it persist once my app is closed

Ответить
Enoc Rosales
Enoc Rosales - 20.07.2021 03:33

Thanks for this video! It is really helpfull

Ответить
Sachin Surve
Sachin Surve - 13.07.2021 16:45

This video found after so many searches & this method worked for me, Thank you so much.

Ответить
Dini Imtiyaz
Dini Imtiyaz - 08.07.2021 10:05

Thanks, good job

Ответить
Shofwatul Afifah
Shofwatul Afifah - 03.07.2021 11:22

alhamdullah thank you sooooo much, you saved my live

Ответить
NUSRAT JAHAN
NUSRAT JAHAN - 18.06.2021 11:17

wow... excilent explanation. thank you..

Ответить
Aqz26
Aqz26 - 18.06.2021 07:58

Me funciono gracias :D

Ответить
Apeksha Jadhav
Apeksha Jadhav - 09.06.2021 12:55

I tried doing the same code,
But it's not working.
I'm not getting any error but, in my AVD clicking doesn't take me to another page.
instead of Cardview i have used relative layout.
Please help, it's urgent 😔

Ответить
Petr Čapek
Petr Čapek - 29.05.2021 10:52

Bro, you are awesome. I have never seen that good tutorial.

Ответить
Bilal Khan
Bilal Khan - 11.05.2021 22:37

Without switch we can't do that ?

Ответить
INDIAN Anlysis
INDIAN Anlysis - 11.03.2021 13:09

Very Very Helpful THANKS 😊👍

Ответить
Hitarth Patel
Hitarth Patel - 01.03.2021 15:17

Hello brother, i am working on a wallpaper project , and i applied the same code inside home bottom navigation fragment , but it's not working , but if i applied in simple activitiy then it work please help me to to redirect in new activity from fragment -card view-new activitiy.

Ответить
Rajesh Dubhil
Rajesh Dubhil - 15.02.2021 10:32

Sir source code link give me please

Ответить
Nimesh Mendis
Nimesh Mendis - 03.02.2021 07:58

Thank you sir

Ответить
Sreenath S
Sreenath S - 14.01.2021 23:01

Simple and excellent 💯

Ответить
sirisha km
sirisha km - 07.12.2020 09:10

Could you please make an video about navigation drawer in android studio?

Ответить
sirisha km
sirisha km - 07.12.2020 09:04

package com.briiisk.quicksp;

import android.app.Activity;
import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.widget.Button;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.ListView;

import androidx.cardview.widget.CardView;

import java.util.ArrayList;

public class HomePage extends Activity implements OnClickListener{
public CardView card1, card2,card3;

Button button;

@Override
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_home_page);

card1=(CardView) findViewById(R.id.c1);
card2=(CardView) findViewById(R.id.c2);
card3=(CardView) findViewById(R.id.c3);

card1.setOnClickListener(this);
card2.setOnClickListener(this);
card3.setOnClickListener(this);

addListenerOnButton();
}

public void addListenerOnButton() {

final Context context = this;

button = (Button) findViewById(R.id.button1);

button.setOnClickListener(new OnClickListener() {

@Override
public void onClick(View arg0) {

Intent intent = new Intent(context, MenuPage.class);
startActivity(intent);

}

});

}

@Override
public void onClick(View v) {
Intent i;
switch (v.getId())
{
case R.id.c1:
i=new Intent(this, OrdersPage.class);
startActivity(i);
break;

case R.id.c2:
i=new Intent(this, MyMenuPage.class);
startActivity(i);
break;

case R.id.c3:
i=new Intent(this, TransactionsPage.class);
startActivity(i);
break;


}
}
}
*************************************************
i have a button also ,you can just ignore it

Ответить
sirisha km
sirisha km - 07.12.2020 08:54

Very helpful!

Ответить
3.14썬개발자 지망생
3.14썬개발자 지망생 - 06.12.2020 18:06

thanks brother very good video!! =)

Ответить
Nayan Bawane
Nayan Bawane - 30.11.2020 11:11

Very helpful
Thanks making this video

Ответить
Marcos Amador
Marcos Amador - 20.11.2020 05:47

New sub <3 Nice Tutorial

Ответить
Aaqib Israr
Aaqib Israr - 28.10.2020 12:21

Thaanku

Ответить
fans club
fans club - 14.08.2020 18:08

Bro using fragment to and click card view to go new activity please say bro

Ответить
VU GRAND QUIZ
VU GRAND QUIZ - 11.08.2020 00:10

plz provide source code

Ответить
A1 Tech Star
A1 Tech Star - 12.07.2020 19:34

Plz provide source code

Ответить