pull/32/head
GKF 6 years ago
parent e80adb66e3
commit be8c372605
  1. 11
      app/src/main/java/io/legado/app/ui/main/bookshelf/BookshelfFragment.kt
  2. 9
      app/src/main/java/io/legado/app/ui/main/booksource/BookSourceFragment.kt
  3. 9
      app/src/main/java/io/legado/app/ui/main/findbook/FindBookFragment.kt
  4. 9
      app/src/main/java/io/legado/app/ui/main/myconfig/MyConfigFragment.kt

@ -1,7 +1,18 @@
package io.legado.app.ui.main.bookshelf package io.legado.app.ui.main.bookshelf
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment import androidx.fragment.app.Fragment
import io.legado.app.R
class BookshelfFragment : Fragment() { class BookshelfFragment : Fragment() {
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
return inflater.inflate(R.layout.fragment_bookshelf, container)
}
} }

@ -1,7 +1,16 @@
package io.legado.app.ui.main.booksource package io.legado.app.ui.main.booksource
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment import androidx.fragment.app.Fragment
import io.legado.app.R
class BookSourceFragment : Fragment() { class BookSourceFragment : Fragment() {
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
return inflater.inflate(R.layout.fragment_book_source, container)
}
} }

@ -1,7 +1,16 @@
package io.legado.app.ui.main.findbook package io.legado.app.ui.main.findbook
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment import androidx.fragment.app.Fragment
import io.legado.app.R
class FindBookFragment : Fragment() { class FindBookFragment : Fragment() {
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
return inflater.inflate(R.layout.fragment_find_book, container)
}
} }

@ -1,7 +1,16 @@
package io.legado.app.ui.main.myconfig package io.legado.app.ui.main.myconfig
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment import androidx.fragment.app.Fragment
import io.legado.app.R
class MyConfigFragment : Fragment() { class MyConfigFragment : Fragment() {
override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
return inflater.inflate(R.layout.fragment_my_config, container)
}
} }
Loading…
Cancel
Save