title: Kotlin - Type mismatch: Required: String, Found: () -> String
body: <p>In Kotlin I declared a <code>List&lt;String&gt;</code> like this:</p>
  
  <pre><code>private val items = listOf&lt;String&gt; {
          "String1",
          "String2",
          "String3"
      }
  </code></pre>
  
  <p>the compiler is giving me this error:</p>
  
  <blockquote>
    <p>Type Mismatch.</p>
    
    <p>Required: String</p>
    
    <p>Found: () -> String</p>
  </blockquote>
  
  <p>What does it mean? How do I fix it?</p>
  
  <p>P.S. Pretty new to Kotlin so bear with me for asking something obvious.</p>