<Declaring projection in Loader in Kotlin> I took ...
# stackoverflow
u
Declaring projection in Loader in Kotlin I took up for learning kotlin so I decided to write a simply app using RecyclerView in conduction with database with content providers. Currently I stuck in MainActivity in onCreateLoader method. In java I used to declare projection this way: String[] projection = { WalletEntry._ID, WalletEntry.KEY_TITLE, WalletEntry.KEY_MONEY, WalletEntry.KEY_LAST_DATE, WalletEntry.KEY_LAST_EXPENSE, WalletEntry.KEY_LAST_TRANSACTION_TITLE }; that worked...