mirror of
https://github.com/element-hq/element-android
synced 2024-11-28 21:48:50 +03:00
f1ee8183e5
When you have two root spaces with the same space as subspace, and you expand both root spaces, you end up with two times the same id in the list. This has two problems: - The expand animation is slightly broken, if you expand the second root space first and then the first one - If you select one of these items with same id, the app crashes: java.lang.IllegalStateException: Two different ViewHolders have the same stable ID. Stable IDs in your adapter MUST BE unique and SHOULD NOT change. As solution, just prefix the epoxy item ids with the parent spaces. |
||
---|---|---|
.. | ||
sampledata | ||
signature | ||
src | ||
.gitignore | ||
build.gradle | ||
lint.xml | ||
proguard-rules.pro |