tosulliv: refactoring of dynamic view listeners to make more generic in
nature