Goals: RealmRecyclerViewAdapter should have provide reliable "Multiple-View-Type" support. For the time being, i am fixing a unnecessary crash that was restricting me to add an extra position in getItemCount() of my inherited Adapter class
Expected results: User can now safely add position from their Adapter's getItemCount method to display Footer View in their RecyclerView
Actual results: A crash is occurring and restricting us to add extra position from getItemCount method to display Footer View
Steps to reproduce: Follow any tutorial that shows how to add Footer View in RecyclerView (e.g: this tutorial )
Code sample that highlights the issue (link to full Android Studio projects that we can compile ourselves are ideal): N/A
Version of Realm/Android Studio/OS:
Realm: io.realm:realm-gradle-plugin:5.0.0
Android Studio 3.0.1
Build #AI-171.4443003, built on November 9, 2017
JRE: 1.8.0_152-release-915-b08 x86_64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Mac OS X 10.13.3
Goals: RealmRecyclerViewAdapter should have provide reliable "Multiple-View-Type" support. For the time being, i am fixing a unnecessary crash that was restricting me to add an extra position in getItemCount() of my inherited Adapter class Expected results: User can now safely add position from their Adapter's getItemCount method to display Footer View in their RecyclerView Actual results: A crash is occurring and restricting us to add extra position from getItemCount method to display Footer View Steps to reproduce: Follow any tutorial that shows how to add Footer View in RecyclerView (e.g: this tutorial ) Code sample that highlights the issue (link to full Android Studio projects that we can compile ourselves are ideal): N/A Version of Realm/Android Studio/OS: Realm: io.realm:realm-gradle-plugin:5.0.0 Android Studio 3.0.1 Build #AI-171.4443003, built on November 9, 2017 JRE: 1.8.0_152-release-915-b08 x86_64 JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o Mac OS X 10.13.3