title: Unresolved reference WearableRecyclerView.Adapter error in Kotlin
body: <p>I'm trying to create an android wear app with a list of items. To enable circular scrolling, I'm using <a href="https://developer.android.com/training/wearables/ui/lists" rel="nofollow noreferrer">WearableRecyclerView</a> by coding in kotlin. But facing this error <strong>Unresolved reference: Adapter</strong> The same code in java doesn't throw this error! I've also referred the inner and outer classes concepts in kotlin. Adapter class is an abstract class of RecyclerView which in turn is extended by WearableRecyclerView. Any guidance will be of much use, Thankyou!!</p>
  
  <p>Here is my code</p>
  
  <pre><code>class CustomRecyclerAdapter(context: Context,dataSet: Array&lt;String&gt;): WearableRecyclerView.Adapter&lt;CustomRecyclerAdapter.viewHolder&gt;() {
  
  
  
  var mDataSet: Array&lt;String&gt;
  var mcontext: Context
  
  
  init {
      mDataSet = dataSet
      mcontext=context
  }
  
     inner class viewHolder(view: View) : WearableRecyclerView(mcontext) {
  
      val mTextView: TextView
  
      init {
          mTextView = view.findViewById(R.id.textView)
      }
  
      override fun toString(): String {
          return mTextView.text as String
      }
  }
  
  fun onCreateViewHolder(viewGroup: ViewGroup, viewType: Int): viewHolder {
      val view = LayoutInflater.from(viewGroup.context)
              .inflate(R.layout.recycler_row_item, viewGroup, false)
  
      return viewHolder(view)
  }
  
  fun onBindViewHolder(viewHolder: viewHolder, position: Int) {
      // Replaces content of view with correct element from data set
      viewHolder.mTextView.text = mDataSet[position]
  }
  
  // Return the size of your dataset (invoked by the layout manager)
  fun getItemCount(): Int {
      return mDataSet.size
  }
  
  }
  </code></pre>