mirror of
https://github.com/chararomandroid/android_device_samsung_a20
synced 2026-08-21 11:55:31 -04:00
universal7885: fm-app: Use size od passed List<Int> instead of hardcode
This commit is contained in:
parent
1ba74af74b
commit
225466e775
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ class ListViewAdapter(private val mContext: Context) : BaseAdapter() {
|
|||
private val mListChannel = mFMInterface.mDefaultCtl.getFreqsList()
|
||||
private var mListofViews = HashMap<Int, View>(30)
|
||||
override fun getCount(): Int {
|
||||
return 30
|
||||
return mListChannel.size
|
||||
}
|
||||
|
||||
override fun getItem(p: Int): Any {
|
||||
|
|
|
|||
Loading…
Reference in a new issue