Комментарии:
perfect
ОтветитьHow can I make it in a fragment?
Java class is different...
thank you
ОтветитьThank you
ОтветитьI added card view recycler view how can i go to next activity after click on a specific recycler view cardview❓
Ответитьthank youuu!!!
Ответить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?
Ответитьthank you. done
ОтветитьThank you so much. Was wonderful.
Please how do you do the same thing but with the cards in a fragment 🙏🙏
muchas gracias
Ответить🤩woah!!!! THANK YOU VERY MUCH....this video helped me alot😀
ОтветитьHelpful. Thank you sir
ОтветитьThanks a lot man, very helpful !
Ответитьthank you sir. Your example was the one i looking for. Thank you again.
ОтветитьYou are doing great work
Keep it up♥️♥️♥️
Please sir Can you put media player with clicked Cardview Activity ????
ОтветитьThank you. I have a question , how would you display values from the database like mysql onto those cardviews
Ответить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 .
Hello
ОтветитьThankk yoouuu!!!
Ответить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
ОтветитьThanks for the video🙏🙏
Ответить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
ОтветитьThanks for this video! It is really helpfull
ОтветитьThis video found after so many searches & this method worked for me, Thank you so much.
ОтветитьThanks, good job
Ответитьalhamdullah thank you sooooo much, you saved my live
Ответитьwow... excilent explanation. thank you..
ОтветитьMe funciono gracias :D
Ответить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 😔
Bro, you are awesome. I have never seen that good tutorial.
ОтветитьWithout switch we can't do that ?
ОтветитьVery Very Helpful THANKS 😊👍
Ответить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.
ОтветитьSir source code link give me please
ОтветитьThank you sir
ОтветитьSimple and excellent 💯
ОтветитьCould you please make an video about navigation drawer in android studio?
Ответить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
Very helpful!
Ответитьthanks brother very good video!! =)
ОтветитьVery helpful
Thanks making this video
New sub <3 Nice Tutorial
ОтветитьThaanku
ОтветитьBro using fragment to and click card view to go new activity please say bro
Ответитьplz provide source code
ОтветитьPlz provide source code
Ответить