pull/32/head
kunfei 5 years ago
parent 7be6e4a278
commit 1e5420357f
  1. 8
      app/src/main/java/io/legado/app/data/entities/RssSource.kt
  2. 10
      app/src/main/java/io/legado/app/ui/main/rss/RssAdapter.kt
  3. 9
      app/src/main/java/io/legado/app/ui/main/rss/RssFragment.kt

@ -0,0 +1,8 @@
package io.legado.app.data.entities
import androidx.room.Entity
@Entity(tableName = "rssSources")
data class RssSource(
var sourceName: String
)

@ -1,2 +1,12 @@
package io.legado.app.ui.main.rss package io.legado.app.ui.main.rss
import android.view.View
import androidx.recyclerview.widget.RecyclerView
class RssAdapter {
class MyViewHolder(view: View) : RecyclerView.ViewHolder(view) {
}
}

@ -1,8 +1,17 @@
package io.legado.app.ui.main.rss package io.legado.app.ui.main.rss
import android.os.Bundle
import android.view.View
import io.legado.app.R import io.legado.app.R
import io.legado.app.base.BaseFragment import io.legado.app.base.BaseFragment
class RssFragment : BaseFragment(R.layout.fragment_rss) { class RssFragment : BaseFragment(R.layout.fragment_rss) {
override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
initRecyclerView()
}
private fun initRecyclerView() {
}
} }
Loading…
Cancel
Save