redraw Questions

12

Solved

Is there any way to redraw all items of RecyclerView? I have some Themes (in style.xml) and after changing the theme, I need the RecyclerView to be redrawn. So I want a method that will force to ...
Dutch asked 8/4, 2016 at 8:30

6

Solved

I have a ListView with HasUnevenRows = true, where the content of each cell is variant to begin with, but the content can also change on the fly (through clicking of a button in the cell). When the...
Pedropedrotti asked 24/5, 2016 at 12:46

2

Solved

I am investigating the use of LiveChart within a WPF application for the purpose of plotting in real time, temperature measurements. I have put together a simple line chart example to read data at ...
Roos asked 28/7, 2020 at 16:9

2

ControlHelper.SuspendDrawing(panel); panel.Controls.Clear(); AddItemIdLabel(); AddLastEditedLabel(); AddDeleteButton(); AddSaveButton(); ControlHelper.ResumeDrawing(panel); public static class Con...
Noyade asked 17/7, 2012 at 14:32

2

Solved

During debugging or computationally heavy loops, i would like to see how my data processing evolves (for example in a line plot or an image). In matplotlib the code can redraw / update the figure w...
Kermes asked 3/9, 2020 at 3:49

6

Solved

I have a custom styling that shows/hides features on the map, but when it is applied it doesn't activate until the map refreshes due to a feature update, but I need it to trigger immediately. I tr...
Limes asked 23/6, 2015 at 8:28

3

Solved

I am trying to get an EditText to clear its spans by calling EditText.getText().clearSpans(). However, if I call this method, the EditText starts to behave strangely, with line feeds appearing as b...
Cum asked 22/2, 2012 at 21:10

4

Solved

I have a background thread loading data which I want to display in an Android ListView. The data changes very often (i.e. 1-2 times per second). Sometimes the number of rows in the dataset changes ...
Beard asked 1/5, 2011 at 4:14

4

Solved

We are doing custom drawing in a control subclass's OnRender. This drawing code is based on an external trigger and data. As such, whenever the trigger fires, we need to re-render the control based...
Monies asked 18/10, 2011 at 2:5

4

Solved

Okay, in windows forms you can use .refresh() to cause a redraw event on an element. Is there a similar solution in WPF? An explanation of what I'm doing, I'm drawing a maze on a canvas object, an...
Parole asked 11/5, 2011 at 4:21

2

I found this post on Beveled UITableViewCells from http://news.selectstartstudios.com/beveled-uitableviewcells/. I'm using the technique to reduce the width of the cells, and for the most part it w...
Upend asked 24/4, 2010 at 17:12

3

Solved

i have trouble with setNeedsDisplay. I have an UIView with a lot of sub UIViews, created in Inteface Builder. I have also an Button with IBAction. In this IBAction i want to redraw/reload all UIVie...
Eton asked 23/1, 2012 at 22:31

3

Solved

I have two canvas elements and need them to be resized on buttons click. <div class="sDetails"><div> <div id="canvasDiv" style="width: 310px;"><canvas id="canvasGraph">&lt...
Rici asked 13/5, 2015 at 14:9

6

This may be a bit of a beginners question, but I can't for the life of me figure it out. I'm using flex to develop a GUI for a large project, specifically a status bar along the bottom. Within my ...
Stocky asked 13/7, 2009 at 17:9

3

Solved

Reading the manual with ':help z' shows a variety of commands which can redraw the window, e.g. z.to redraw with the cursor in the centre or zb to redraw with it at the bottom of the screen. zt is...
Antefix asked 13/11, 2014 at 17:56

2

Solved

I have some divs that show up on hover, and then are hidden. However, in Chrome (19.0.1084.56 m, Windows XP) when you unhover, Chrome doesn't redraw them as gone until you do something like scroll ...
Wartburg asked 12/6, 2012 at 17:59

1

Solved

I'm not exactly sure a "redraw" is what I'm looking for... I'm new to designing Windows forms by hand. I've created a class that will use a "TableLayoutPanel" as a passed variable and do its own de...
Elohist asked 28/5, 2014 at 11:43

2

Solved

I've a screen being redraw every 25ms, and images are flickering, here is my code var FRAME_RATE = 40; var intervalTime = 1000/FRAME_RATE; gameLoop(); function gameLoop(){ context.clearRect(...
Grigsby asked 24/8, 2013 at 22:51

3

Solved

Something extremely weird is happening when I open files in vim, and I can't remember doing anything that would have caused it. Weird behaviors include: no text being visible until I highlight i...
Cavy asked 22/8, 2011 at 18:0

1

I'm trying to add a subpath to my CAShapeLayer's path, but the changes doesn't show unless I first assing nil to the path and then I reassign myPath to the CAShapeLayer. I've tried with setNeedsRed...
Impunity asked 11/8, 2012 at 20:13

1

Solved

I am using PHP to set a date range for creating a Google Line Chart. For each date in the range a variable is set ($running_balance) to create the points on the line chart using data in a database....
Laity asked 7/4, 2013 at 22:24

2

I am using nvd3 to draw a simple line chart with data receiving via an ajax request. It is working perfectly with the first drawing request but not on redrawing. The chart redraws by calling the sa...
Mendes asked 21/11, 2012 at 1:2

1

Solved

I am new to d3 as well as javascript, and I am having trouble updating the dataset, as well as redrawing the bars. This is the code I have been looking at so far. http://jsfiddle.net/TwEhT/2/ I ...
Hurdle asked 12/3, 2013 at 2:22

1

Solved

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 UpdateWindo...
Piscator asked 27/12, 2012 at 15:27

2

I've a quite simple list with 3 textview fields on each row. We are updating their values every 2 seconds or so with data coming from a background webservice call ( AsyncTask ) We compare the com...

© 2022 - 2024 — McMap. All rights reserved.