I make a view with many thermometers (8 is always visible on the screen). Each thermometer is a bitmap that needs 6 paints to fill. Still other parts of the view require 8 paints. So, is it right to keep paints for thermometers as view fields, if bitmaps themselves are used in redrawing, and not thermometer paints? I don't think it's memory efficient. Maybe I should create paints for thermometers in a method that sets temperatures for them? The thermometer bitmaps are still updated only twice (the first time from the database at startup and the second time after synchronization with the server, and then only if the values differ from the database). And the chance that the user will manually request resynchronization with the server again is very small.
All the information that I tried to find on this topic only says that you cannot create objects in the oDraw() method