In This tutorial we will learn how to create a expandable card view with smooth animations. Blog Url codevedanam.blogspot.com Music: Early Hours Musician: @iksonmusic
Hey buddy I still get the error: @RequiresApi (api = Build.VERSION_CODES.KITKAT) public void rule_no_01_expand(View view) { int v = (rule_01_constraint_layout.getVisibility() == View.GONE)? View.VISIBLE : View.GONE; TransitionManager.beginDelayedTransition(rule_01_linear_layout, new AutoTransition()); } here "rule_01_linear_layout" is linear layout. Error : 'beginDelayedTransition(android.view.ViewGroup, android.transition.Transition)' in 'android.transition.TransitionManager' cannot be applied to '(android.widget.LinearLayout, androidx.transition.AutoTransition)' why is that the case?
ekdum mast...thankyou
i got it thank you sir
If I want to use multiple card view with new text details then what I do? @Code Vedanam
What other Transitions we can use instead of AutoTransition() ?
MUCHAS gracias esta de maravillas el video ahora seran mejores mis aplicaciones ; )
Glad to hear that 😀
Thanks. Great explication.😸
Happy to hear that
Buen video, funciona muy bien, gracias
Thank you
This was very helpful 👌👌👌👌
Thanks
@@CodeVedanam but when i make 2 card views app is crashing
Thanks man, we need you
Any time!
Большое спасибо за видео ! Привет из России )
Thank you
Thanks
Wellcome dear 😊
I wrote the card view code in my layout_main.Xml and the other code in the Main Activity.java... Is that right?
Just make sure the card view layout file will be different than the activity layout file
@@CodeVedanam but when i make 2 card views app is crashing
but when i make 2 card views app is crashing
There maybe an error in one of the variables in the xml file , check it out
I tested your solution and did not get any trouble
source code pls
Sorry but source code is not available. You can follow the tutorial and code it and if you face any problem then write back to us.
No need of background music we cant hear what you are explaning bro
We will take care in the upcoming tutorials. Btw thanks for your feedback :)
Hey buddy I still get the error:
@RequiresApi (api = Build.VERSION_CODES.KITKAT)
public void rule_no_01_expand(View view)
{
int v = (rule_01_constraint_layout.getVisibility() == View.GONE)? View.VISIBLE : View.GONE;
TransitionManager.beginDelayedTransition(rule_01_linear_layout, new AutoTransition());
}
here "rule_01_linear_layout" is linear layout.
Error : 'beginDelayedTransition(android.view.ViewGroup, android.transition.Transition)' in 'android.transition.TransitionManager' cannot be applied to '(android.widget.LinearLayout, androidx.transition.AutoTransition)'
why is that the case?