I am trying to insert an element whenever I receive a push notif in FcmListener
class using Realm
now I thought that as I cannot use executetransactionasync
in this class because this class does not have a looper
, that's why I thought using executetransaction
in an Activity class where I am showing this newly inserted element, and from FcmListener
I can call this method inside Activity class whenever I received the push notification.
Now I was just thinking as executetransactionasync
method is async whereas executetransaction
is synchronous.
Will there be any impact on app performance or not ??