Sample Code:
<aura:component implements="force:appHostable" >
<lightning:listView aura:id="listViewAccounts"
objectApiName="Account"
listName="AllAccounts"
rows="5"
showActionBar="false"
enableInlineEdit="true"
showRowLevelActions="false" />
</aura:component>
Output: