The NBA free agency 2017 wheeling and dealing continued on the Fourth of July as several players have changed to new teams. As of Tuesday, the biggest news was that Gordon Hayward joined the Celtics. However, the Washington Wizards' Otto Porter Jr. and Denver Nuggets' Danilo Gallinari have also moved to new squads. For Porter Jr., it will be the Brooklyn Nets, while Gallinari joins the new-look L.A. Clippers. Here are the latest details on both NBA free agent players' moves.

Otto Porter Jr's max deal

For Otto Porter Jr. it was a nice payday as the restricted free agent forward cashed in with the Brooklyn Nets.

As of Tuesday, he had agreed to an offer of $106 million over four years with the Nets. He was a big part of a successful season for the Washington Wizards which saw the team make the Eastern Conference semifinals against the Boston Celtics and send it to seven games.

While the Brooklyn Nets aren't quite a contender like the Washington Wizards, the team recently made a trade to acquire D'Angelo Russell from the Los Angeles Lakers. They also have guard Jeremy Lin and are looking to slowly rebuild, despite not having a high draft pick this past summer.

Porter Jr. averaged 13.4 points, 6.4 rebounds, and 1.5 steals a game this past season. He was also a 43.4 percent three-point shooter and hit 51.6 percent of his shots from the field, giving the Nets a nice boost to their growing roster.

Gallinari in sign and trade

A three-team deal sent Danilo Gallinari from the Denver Nuggets to the Los Angeles Clippers in a "sign and trade." Also involved in the trade were the Eastern Conference's Atlanta Hawks. Gallinari will receive a three-year, $65 million deal from the L.A. Clippers.

The Atlanta Hawks are set to receive Jamal Crawford, Diamond Stone, and a 2018 first-round draft pick, as well as cash from the Los Angeles Clippers.

The Denver Nuggets get Atlanta's 2019 second-round pick from Washington in the trade.

Of the players traded, rumors suggested that Crawford was interested in having the Clippers waive him so he could join the L.A. Lakers. Crawford also mentioned he would be "OK with playing for the Atlanta Hawks in the coming NBA season, but it's expected that the team may waive him before the season begins.

As for Danilo Gallinari, he joins a Los Angeles Clippers team that has been undergoing drastic changes recently. That includes Chris Paul leaving for the Houston Rockets in a sign-and-trade, as well as JJ Redick leaving the team as a free agent to join the Philadelphia Sixers. All-Star players Blake Griffin and DeAndre Jordan remain as part of the roster.

Gallinari is in his seventh year out of Italy after becoming the No. 6 draft pick by the New York Knicks in 2008. In the 2016-17 season with the Nuggets, he averaged 18.2 points, 5.2 rebounds, and 2.1 assists per game. He'll now provide a solid floor-spacing shooter for the Clippers and join a front court that includes Griffin and Jordan as part of the L.A. reboot after Chris Paul's departure.