Questions tagged [invalidation]

568 questions
7
votes
3 answers

How can I refresh One form when the other form is closed?

I have been developing project in c#. It has 2 form and these are connected with between each other. I want to do that when second form is closed, first form refresh. If I use Thread's Sleep program will be tired. I want to do this with closing…
OEASLAN
  • 150
  • 1
  • 1
  • 8
7
votes
1 answer

Redraw Window Control Synchronously (with blocking method)

What I am trying to do is to cause a control (in the same process, but which I have no control of) to redraw itself, and for my code to block until it finished redrawing. I tried using UpdateWindow but that doesn't seem to wait for the redraw to…
Rotem
  • 21,452
  • 6
  • 62
  • 109
7
votes
1 answer

Scroll a View and refresh content

I use the following user interface: A parent relative layout parentLayout with the dimensions 800x600 (width x height) A second relative layout childLayout, which is a child of the parent layout. It has the dimensions 800x1000, i.e. it is larger…
Anne Droid
  • 3,151
  • 4
  • 16
  • 15
7
votes
3 answers

C# Invalidate is not calling paint method

I have OnPaint method overrided to draw an Ellipse on the screen. protected override void OnPaint(PaintEventArgs e) { MessageBox.Show("Paint"); if (debugStarted) { int y = rtbLogicCode.PlaceToPoint(new…
TtT23
  • 6,876
  • 34
  • 103
  • 174
7
votes
2 answers

Invalidate CRL cache

Is there a way to immediately invalidate the CRL (Certificate Revocation List) cache causing clients to download the CRL again? I would like to achieve it in C# without resorting to the command line 'certutil.exe'. Even better would be to be able to…
Daniel
  • 1,391
  • 2
  • 19
  • 40
7
votes
3 answers

View.invalidate() does not seem to call View.onDraw()

I have a drawing library, and with it I have a custom View. When any updates need to be done, the library calls the view's invalidate() method. And then the onDraw() method is called, and everything works just fine. However, when I add the…
Rickster
  • 870
  • 10
  • 17
6
votes
0 answers

Android is redrawing all Views when applying animation on one view

I have an Application that contains one layout with sevral views, when i animate one view all views are getting redrawn! is that the normal behavior or i am doing something false ? i would like to cancel this behavior and just redraw the views that…
6
votes
4 answers

AWS Cloudfront Invalidation not working as expected

I have a query related to invalidation. I have a test page created on s3 bucket. The TTL set on Cloudfront is 1 week. But I have made some changes to the test page. I ran the invalidation as '/*' and expected all files to be evicted from the…
LPD
  • 2,833
  • 2
  • 29
  • 48
6
votes
2 answers

Invalidate Google Cloud CDN cache from the backend

After few days of research and reading documentation, I'm almost sure It's nearly impossible, but still I would like to ask: The goal is to invalidate all cached content in GCloud CDN on demand (due to headers changes) on the 3rd party backend,…
nattfodd
  • 1,790
  • 1
  • 17
  • 35
6
votes
4 answers

Invalidate spring security session

i need to invalidate ( or kick ) user session. the application only limit user login only one user per container. i try to call removeSessionInformation from session registry, its done to unlock the user. so the other user can login with the kicked…
Jeg Bagus
  • 4,895
  • 9
  • 43
  • 54
6
votes
2 answers

Rules for Iterator Invalidation

What are the usual rules for Iterator invalidation when operating over STL container classes(Vector,Dequeue,list,map,multimap,set,multiset). Is it possible to categorize and sum up some general rules/guidelines that a C++ STL programmer must be…
Alok Save
  • 202,538
  • 53
  • 430
  • 533
6
votes
1 answer

Wordpress invalidate cf7 after api call

Here's my issue, I have contact form 7 for wordpress installed and during the wpcf7_before_send_mail I make a call to an API, I need to invalidate the form if the API returns an error then I need to invalidate the request and return the error passed…
ThurstonLevi
  • 664
  • 13
  • 34
6
votes
2 answers

Delay on sliderinput

Is there a way to make the sliderInput wait for a couple seconds before it changes its corresponding input$ variable? I have a bar that is controlling a graph that needs to re-render upon the value change. I'm aware of the workaround with a submit…
hedgedandlevered
  • 2,314
  • 2
  • 25
  • 54
6
votes
1 answer

Android toggleButton.setOnText and .invalidate doesn't refresh text

I have a method like this: ToggleButton toggle = ((ToggleButton)findViewById(R.id.toggle)); toggle.setTextOn("blah"); toggle.setTextOff("blahblah"); toggle.invalidate(); // doesn't work? This methods gets called from onOptionsItemSelected. The…
ZirconCode
  • 805
  • 2
  • 10
  • 24
6
votes
1 answer

Android RatingBar painting itself wrong

I need to force a repaint of the RatingBar control. After many problems with the ratingbar and styles, I managed to get almost everything working. I use it in a listview item. Due to how it works, one has to "fight" a little with its look and…
Tom
  • 3,587
  • 9
  • 69
  • 124
1 2
3
37 38