This is the simple project demonstrating how to do expandable CardView list with flexible space between each.
expandablecardviewlist's Introduction
expandablecardviewlist's People
Forkers
ps-jimmy pradeep9868 stevekamau72 tieusangaka stephennevermore iammalai selvaganeshm techburner1 mafrater flyfire hamidionline divya1903expandablecardviewlist's Issues
Clicking on a card to expand it causes it to crash
When I tried to expand one of the cards...the app crashed.
running
- Android Studio 2.3
- Android 7.1.1, Nexus 6P emulator
Logcat...
03-10 17:17:53.930 7484-7484/com.wldev.expandablecardviewlist D/Bindings: animate:
03-10 17:17:53.931 7484-7484/com.wldev.expandablecardviewlist D/AndroidRuntime: Shutting down VM
03-10 17:17:53.935 7484-7484/com.wldev.expandablecardviewlist E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.wldev.expandablecardviewlist, PID: 7484
java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.Class java.lang.Object.getClass()' on a null object reference
at android.graphics.drawable.AnimatedVectorDrawable$VectorDrawableAnimatorRT.createRTAnimator(AnimatedVectorDrawable.java:1262)
at android.graphics.drawable.AnimatedVectorDrawable$VectorDrawableAnimatorRT.parseAnimatorSet(AnimatedVectorDrawable.java:1220)
at android.graphics.drawable.AnimatedVectorDrawable$VectorDrawableAnimatorRT.init(AnimatedVectorDrawable.java:1187)
at android.graphics.drawable.AnimatedVectorDrawable.ensureAnimatorSet(AnimatedVectorDrawable.java:851)
at android.graphics.drawable.AnimatedVectorDrawable.start(AnimatedVectorDrawable.java:834)
at com.wldev.expandablecardviewlist.Bindings.animate(Bindings.java:111)
at com.wldev.expandablecardviewlist.databinding.RvItemBinding.executeBindings(RvItemBinding.java:294)
at android.databinding.ViewDataBinding.executeBindingsInternal(ViewDataBinding.java:379)
at android.databinding.ViewDataBinding.executePendingBindings(ViewDataBinding.java:351)
at android.databinding.ViewDataBinding$6.run(ViewDataBinding.java:178)
at android.databinding.ViewDataBinding$7.doFrame(ViewDataBinding.java:251)
at android.view.Choreographer$CallbackRecord.run(Choreographer.java:872)
at android.view.Choreographer.doCallbacks(Choreographer.java:686)
at android.view.Choreographer.doFrame(Choreographer.java:618)
at android.view.Choreographer$FrameDisplayEventReceiver.run(Choreographer.java:860)
at android.os.Handler.handleCallback(Handler.java:751)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:154)
at android.app.ActivityThread.main(ActivityThread.java:6119)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)
Cannot find the setter for attribute 'app:animate'
Hey, I have followed all the steps described in implementation of data binding for expandablecardview, but for some reason my gradle build fails with the following stack trace.
****/ data binding error ****msg:Cannot find the setter for attribute 'app:animate' with parameter type boolean on android.widget.ImageView.
file:F:\Behtar Projects\Venus\app\src\main\res\layout\faq_item.xml
loc:78:35 - 78:49
****\ data binding error ****
I have searched for a solution for hours related to my use-case, but cannot find anything working.
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.