mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-11-21 23:48:18 -05:00
Actually finish up the M11 updates
This commit is contained in:
parent
cbfd09ab66
commit
2af409b3b0
@ -20,9 +20,9 @@ import org.crosswire.jsword.versification.getBooks
|
|||||||
import rx.subjects.PublishSubject
|
import rx.subjects.PublishSubject
|
||||||
|
|
||||||
class BibleMenu(val ctx: Context, val attrs: AttributeSet) : LinearLayout(ctx, attrs) {
|
class BibleMenu(val ctx: Context, val attrs: AttributeSet) : LinearLayout(ctx, attrs) {
|
||||||
// val inflater = ctx.getSystemService(Context.LAYOUT_INFLATER_SERVICE) as LayoutInflater
|
val inflater = ctx.getSystemService(Context.LAYOUT_INFLATER_SERVICE) as LayoutInflater
|
||||||
// val contentView = inflater.inflate(R.layout.view_bible_menu, this, true)
|
val contentView = inflater.inflate(R.layout.view_bible_menu, this, true)
|
||||||
val menuContent = findViewById(R.id._bible_menu) as ExpandableListView
|
val menuContent = contentView.findViewById(R.id._bible_menu) as ExpandableListView
|
||||||
|
|
||||||
fun doInitialize(b: Book, publisher: PublishSubject<BookScrollEvent>) {
|
fun doInitialize(b: Book, publisher: PublishSubject<BookScrollEvent>) {
|
||||||
val adapter = BibleAdapter(b, publisher)
|
val adapter = BibleAdapter(b, publisher)
|
||||||
|
Loading…
Reference in New Issue
Block a user