How do I make a mob grinder in MCPE that actually spawns mobs

Solution 1:

The slabs are the problem. Remove them and it will work if the room is 100% dark and you are near the spawner.