Attach a band to a fixed point and wrap the loose end around your knee.
Start in the standing position, facing the anchoring point and with the band already under tension.
Allow the working knee to bend (the band will pull the knee), while shifting your weight onto the supporting leg.
Shift your weight back onto the bentleg and fully extend the knee (pull the kneecap up)