remove set adapter method