pull/32/head
parent
66616dd915
commit
8b4dee9232
@ -1,21 +1,16 @@ |
|||||||
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? { |
// override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { |
||||||
return inflater.inflate(R.layout.fragment_bookshelf, container) |
// return inflater.inflate(R.layout.fragment_bookshelf, container) |
||||||
} |
// } |
||||||
|
// |
||||||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) { |
// override fun onViewCreated(view: View, savedInstanceState: Bundle?) { |
||||||
super.onViewCreated(view, savedInstanceState) |
// super.onViewCreated(view, savedInstanceState) |
||||||
} |
// } |
||||||
|
|
||||||
|
|
||||||
} |
} |
@ -1,20 +1,15 @@ |
|||||||
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? { |
// override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { |
||||||
return inflater.inflate(R.layout.fragment_book_source, container) |
// return inflater.inflate(R.layout.fragment_book_source, container) |
||||||
} |
// } |
||||||
|
// |
||||||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) { |
// override fun onViewCreated(view: View, savedInstanceState: Bundle?) { |
||||||
super.onViewCreated(view, savedInstanceState) |
// super.onViewCreated(view, savedInstanceState) |
||||||
} |
// } |
||||||
|
|
||||||
} |
} |
@ -1,20 +1,15 @@ |
|||||||
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? { |
// override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { |
||||||
return inflater.inflate(R.layout.fragment_find_book, container) |
// return inflater.inflate(R.layout.fragment_find_book, container) |
||||||
} |
// } |
||||||
|
// |
||||||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) { |
// override fun onViewCreated(view: View, savedInstanceState: Bundle?) { |
||||||
super.onViewCreated(view, savedInstanceState) |
// super.onViewCreated(view, savedInstanceState) |
||||||
} |
// } |
||||||
|
|
||||||
} |
} |
@ -1,20 +1,15 @@ |
|||||||
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? { |
// override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? { |
||||||
return inflater.inflate(R.layout.fragment_my_config, container) |
// return inflater.inflate(R.layout.fragment_my_config, container) |
||||||
} |
// } |
||||||
|
// |
||||||
override fun onViewCreated(view: View, savedInstanceState: Bundle?) { |
// override fun onViewCreated(view: View, savedInstanceState: Bundle?) { |
||||||
super.onViewCreated(view, savedInstanceState) |
// super.onViewCreated(view, savedInstanceState) |
||||||
} |
// } |
||||||
|
|
||||||
} |
} |
Loading…
Reference in new issue