Understanding this LM317 LED Driver circuit
The voltage across R will be adjusted to a specific value (about 1.25V for the LM317T) by the regulator. Since the resistance is constant and the voltage across it will be held constant, the current through it will also be constant. The adjust pin takes a very small amount of current (usually less than 100uA), and the rest flows through the load.