https://kotlinlang.org logo
Title
u

user

07/24/2022, 10:41 AM
Can't attach the adapter to the RecyclerView Why can't I attach the adapter to RecyclerView? Just constantly getting W/RecyclerView: No adapter attached; skipping layout Fragment class class Latest : Fragment() { private var mRecyclerView: RecyclerView? = null private var mAdapter: CurrencyAdapter? = null override fun onCreateView( inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle? ): View? { val asd = HashMap() asd.put("asd", 1.2) asd.put("as2d", 3.2) Log.i(TAG, "onCreateView: " +...