Why does android RemoteView class provide only setOnClickPendingIntent -



Why does android RemoteView class provide only setOnClickPendingIntent -

android's remoteview class provides method setonclickpendingintent instead of setonclicklistener. reason ? what's advantage of using pendingintent in case ?

iirc

a remote view not running in applications process, hence has utilize ipc tell app clicked. asynchronous , "pending" click, not instant click. name reflects subtle behaviour difference.

#setonclickpendingintent(int, android.app.pendingintent)

vs

#setonclicklistener(android.view.view.onclicklistener)

android android-pendingintent remoteview android-remoteview

Comments

Popular posts from this blog

maven fortify plugin : Unable to load build session with ID XXXXX .. See log file for more details -

c# - Primavera WebServices does not return any data -

android - Display emoji panel with genymotion - keyboard/touch input? -