We were dismayed to learn that our neighbours were untidy, disagreeable, and uninterested in making new friends.1. This could be a gerund because it is the object of the preposition "in".
2. This could be a participle because it is an adjective used to describe the noun phrase "new friends".
Gerunds can take objects. The object of the gerund making is new friends.