There's the whole other aspect of people who don't care to properly bag trash (which attracts more vermin that also spread litter). It's a very frustrating situation.
Oh I hate that! It's far from a perfect solution - bags tear, you can't bag recyclables, sidewalk and park trash cans will always have loose trash - but it's huge and too many people don't know or care to do it.