Toss the chicken livers in the flour seasoned with salt and pepper and fry them, a few at a time, in the oil until nicely browned. Cook the onion in the butter in another pan until soft. Add the mushrooms and cook for a few minutes longer, stirring. Add the livers and sherry and simmer all together for about 5 minutes. Serve on hot buttered toast.