mirror of
https://github.com/MinimalBible/MinimalBible
synced 2024-11-24 17:08:18 -05:00
Add back all the imports.
Frustrating that IntelliJ decided to strip those out...
This commit is contained in:
parent
a96fa1dd74
commit
7d3ca03876
@ -138,5 +138,6 @@
|
||||
<orderEntry type="library" exported="" name="commons-net-3.3" level="project" />
|
||||
<orderEntry type="library" exported="" scope="TEST" name="awaitility-1.6.3" level="project" />
|
||||
<orderEntry type="library" exported="" name="jdom2-2.0.5" level="project" />
|
||||
<orderEntry type="module" module-name="jsword-minimalbible" />
|
||||
</component>
|
||||
</module>
|
@ -1,6 +1,9 @@
|
||||
package org.bspeice.minimalbible.activity.downloader.manager
|
||||
|
||||
import android.net.ConnectivityManager
|
||||
import org.bspeice.minimalbible.activity.downloader.DownloadPrefs
|
||||
import org.crosswire.jsword.book.Book
|
||||
import org.crosswire.jsword.book.install.Installer
|
||||
import rx.Observable
|
||||
import rx.schedulers.Schedulers
|
||||
import java.util.Calendar
|
||||
@ -36,10 +39,6 @@ class RefreshManager(val installers: Collection<Installer>,
|
||||
// Lists -> Single list
|
||||
.flatMap { Observable.from(it) }
|
||||
|
||||
val flatModulesSorted = flatModules.toSortedList { book1, book2 ->
|
||||
BookComparators.getInitialComparator().compare(book1, book2)
|
||||
}
|
||||
|
||||
fun doReload(downloadEnabled: Boolean, lastUpdated: Long,
|
||||
networkState: Int? = ConnectivityManager.TYPE_DUMMY): Boolean =
|
||||
if (!downloadEnabled || networkState != ConnectivityManager.TYPE_WIFI)
|
||||
|
@ -1,5 +1,11 @@
|
||||
package org.bspeice.minimalbible.activity.search
|
||||
|
||||
import android.util.Log
|
||||
import org.crosswire.jsword.book.Book
|
||||
import org.crosswire.jsword.index.IndexManager
|
||||
import org.crosswire.jsword.index.search.SearchType
|
||||
import org.crosswire.jsword.passage.Verse
|
||||
|
||||
/**
|
||||
* This is the entry point for handling the actual bible search. Likely will support
|
||||
* an "advanced" search in the future, but for now, basicTextSearch is what you get.
|
||||
|
@ -1,6 +1,15 @@
|
||||
package org.bspeice.minimalbible.activity.viewer
|
||||
|
||||
import android.content.Context
|
||||
import android.util.AttributeSet
|
||||
import android.view.LayoutInflater
|
||||
import android.view.View
|
||||
import android.widget.ExpandableListView
|
||||
import android.widget.LinearLayout
|
||||
import android.widget.TextView
|
||||
import org.bspeice.minimalbible.R
|
||||
import org.crosswire.jsword.book.Book
|
||||
import org.crosswire.jsword.versification.BibleBook
|
||||
import rx.subjects.PublishSubject
|
||||
|
||||
class BibleMenu(val ctx: Context, val attrs: AttributeSet) : LinearLayout(ctx, attrs) {
|
||||
|
@ -1,5 +1,7 @@
|
||||
package org.bspeice.minimalbible.service.format.osisparser.handler
|
||||
|
||||
import android.text.SpannableStringBuilder
|
||||
import android.text.style.CharacterStyle
|
||||
import org.bspeice.minimalbible.service.format.osisparser.VerseContent
|
||||
import org.xml.sax.Attributes
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 601af59763e574f6b320c8d9207741229bba5956
|
||||
Subproject commit 93dfa15fa55ba9a33765937f22d0b0fe0a64945e
|
Loading…
Reference in New Issue
Block a user