creating a helper function for fetching the thread id
This commit is contained in:
parent
3373ce66e1
commit
420a88c74c
3 changed files with 19 additions and 14 deletions
|
|
@ -50,8 +50,8 @@ class ThreadActivity : SimpleActivity() {
|
|||
}
|
||||
|
||||
private fun setupAdapter() {
|
||||
val threadID = intent.getIntExtra(THREAD_ID, 0)
|
||||
val items = getThreadItems(threadID)
|
||||
val threadId = intent.getIntExtra(THREAD_ID, 0)
|
||||
val items = getThreadItems(threadId)
|
||||
|
||||
runOnUiThread {
|
||||
val adapter = ThreadAdapter(this, items, thread_messages_list, thread_messages_fastscroller) {}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue