Fix the 1st Timothy scrolling issue

This commit is contained in:
Bradlee Speice 2014-11-27 21:20:34 -05:00
parent ee62ddb707
commit fba4e04fdb

View File

@ -37,7 +37,9 @@ class BibleMenu(val b: Book) : BaseExpandableListAdapter() {
groupPosition: Int, childPosition: Int, id: Long): Boolean { groupPosition: Int, childPosition: Int, id: Long): Boolean {
val map = menuMappings[groupPosition] val map = menuMappings[groupPosition]
listener onNext BookScrollEvent(map.first, map.second) // childPosition is index-based
// TODO: Figure out why trying chapter 0 triggers a NotImplementedException...
listener onNext BookScrollEvent(map.first, childPosition + 1)
return true; // Event was handled return true; // Event was handled
} }