From 2af409b3b03e4c2cdcdae34d47aa390f25269419 Mon Sep 17 00:00:00 2001 From: Bradlee Speice Date: Thu, 2 Apr 2015 19:15:03 -0400 Subject: [PATCH] Actually finish up the M11 updates --- .../org/bspeice/minimalbible/activity/viewer/BibleMenu.kt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/app/src/main/kotlin/org/bspeice/minimalbible/activity/viewer/BibleMenu.kt b/app/src/main/kotlin/org/bspeice/minimalbible/activity/viewer/BibleMenu.kt index 65f7e17..d64039e 100644 --- a/app/src/main/kotlin/org/bspeice/minimalbible/activity/viewer/BibleMenu.kt +++ b/app/src/main/kotlin/org/bspeice/minimalbible/activity/viewer/BibleMenu.kt @@ -20,9 +20,9 @@ import org.crosswire.jsword.versification.getBooks import rx.subjects.PublishSubject class BibleMenu(val ctx: Context, val attrs: AttributeSet) : LinearLayout(ctx, attrs) { - // val inflater = ctx.getSystemService(Context.LAYOUT_INFLATER_SERVICE) as LayoutInflater - // val contentView = inflater.inflate(R.layout.view_bible_menu, this, true) - val menuContent = findViewById(R.id._bible_menu) as ExpandableListView + val inflater = ctx.getSystemService(Context.LAYOUT_INFLATER_SERVICE) as LayoutInflater + val contentView = inflater.inflate(R.layout.view_bible_menu, this, true) + val menuContent = contentView.findViewById(R.id._bible_menu) as ExpandableListView fun doInitialize(b: Book, publisher: PublishSubject) { val adapter = BibleAdapter(b, publisher)