AndroidNougatEasterEgg
AndroidNougatEasterEgg copied to clipboard
Performance improvement ideas
- Avoid reloading cats onPrefsChanged() if no cat-related prefs changed?
- Is there a better way to reuse/release Cat drawables in NekoLand.updateCats()?
Are individual cats stored as a combination of parts and redrawn every time they are shown? Should it be changed and every time a cat is generated it is stored as a complete PNG maybe? This way when they are displayed there is no need to render 38 pieces for each cat. Maybe I'm wrong here. Just an idea.
I've recently launched the built in Neko game on my wife's Galaxy S8 that has been updated to Oreo. Looks like something has been optimized in the recent builds since I was able to scroll through several hundred cats without any lag or crashes. Just an FYI.