Collision Groups

Would you be kind to tell me if there is any alternative to CollisionGroup in android? I tried to use PhysicsCollisionGroupListener and I have not gotten it to work … What I’m trying to make is that an object A, does not collide with another object B, but A and B must collide with everyone.
Thanks mates!