public void updateConfiguration(@NotNull Configuration configuration){
  myConfiguration=configuration;
  invalidateGraphicsRenderer();
}

public void updateConfiguration ( @ NotNull Configuration configuration ) { myConfiguration = configuration ; invalidateGraphicsRenderer ( ) ; }
updates the current configuration . you need to call this method if you change the configuration and want to update the rendered view . < p / > < p / > this will re - inflate the sample view with the new parameters in the configuration .
