Карсаков - Лабораторная работа #2

n/t
Suggest to use anonymous class, since you need it one time only.