title: Performance RemoteViews in Android
body: <p>I am trying to write a small application in Android. My application is on Widgets. I have a basic doubt on using RemoteViews. I found that whenever , I update some button or some UI layout a new object of the remoteviews is created . Will that be a problem with the performance? an example code is this:</p>
  
  <p><a href="http://android-developers.blogspot.com/2009/04/introducing-home-screen-widgets-and.html" rel="nofollow">http://android-developers.blogspot.com/2009/04/introducing-home-screen-widgets-and.html</a></p>
  
  <pre><code>updateViews = new RemoteViews(context.getPackageName(), R.layout.widget_message);
  </code></pre>
  
  <p>even for updating the views everytime, new remoteview object is created. Please help me in understanding this. </p>