In activity in Toolbar I got a button which need to call method from fragment and update list in that fragment. Now it is an error. Calling in activity
@Over
Kotlin:
My problem happened with getString()
getString()
Changing it to context.getString() solved it
context.getString()