Were Ernest Hemingway and F Scott Fitzgerald friends?

Ernest Hemingway and F. Scott Fitzgerald were friends for a time, but they became distanced and critical of each other through the years.
Ernest Hemingway and F. Scott Fitzgerald met in 1925 and were friends for a number of years.