Show all sources in the sources list #90
Reference in New Issue
Block a user
Delete Branch "davidoskky/ReaderForSelfoss-multiplatform:sources"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Types of changes
This closes issue #79
@@ -63,13 +63,6 @@ class SourcesActivity : AppCompatActivity(), DIAware {)binding.recyclerView.adapter = mAdaptermAdapter.notifyDataSetChanged()if (items.isEmpty()) {Why was this deleted ?
This is unrelated to the issue, I just removed it since I stumbled upon it while finding a solution.
Just above:
It is thus redundant to print a message if no source is present since we already checked for that and handled it above.
@@ -61,9 +61,13 @@ class SourcesListAdapter(binding.sourceTitle.text = itm.title.getHtmlDecoded()}override fun getItemId(position: Int) = position.toLong()Are these two changes really needed ?
Yes, these are the changes that actually solve the problem.
The position keeps getting reset otherwise and that was why we would get a repeating list.