Showing 3 of 42 total issues
Method generateTestMedicine
has 35 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
public void generateTestMedicine() {
TestMedicine[] testMedicines = new TestMedicine[]{
new TestMedicine("Omega 3 (EPA/DHA 500mg)", null, 1, new TestReminder[]{
new TestReminder("1", 9 * 60, 1, 0, ""),
new TestReminder("1", 18 * 60, 2, 2, "after meals")
Method onChildDrawOver
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
public void onChildDrawOver(@NonNull Canvas c, @NonNull RecyclerView recyclerView,
RecyclerView.ViewHolder viewHolder, float dX, float dY,
int actionState, boolean isCurrentlyActive) {
Method clearCanvas
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
private void clearCanvas(Canvas c, float left, float top, float right, float bottom) {