Boil onion and cashew in hot water till the raw smell in onion goes off. Strain the water. When it comes to room temperature, blend them into fine paste without adding water
Rinse the spinach well in water. Boil water with pinch of sugar and salt. Add the spinach to the boiling water. Cook and switch off the flame, after 3-5 mins drain and quickly pour cold water over the spinach. Transfer them into a blender and make fine paste, with green chilli
Heat the non stick pan/heavy bottomed/andoized pan in medium heat and add ginger garlic paste and 1 teaspoon of water. Sauté till the water is absorbed and raw smell goes off. If water evaporated before raw smell goes spinkle some more water
Add Onion and cashew puree and cook for 3-4 minutes keep stirring occasionally
Add spinach puree, garam masala, coriander powder, cumin powder and allow it to cook for 2-3 mins
Add corn and combine well and cook for 2-3 minutes