@ -27,12 +27,12 @@ public class EditingToolsAdapter extends RecyclerView.Adapter<EditingToolsAdapte
public EditingToolsAdapter ( OnItemSelected onItemSelected ) {
public EditingToolsAdapter ( OnItemSelected onItemSelected ) {
mOnItemSelected = onItemSelected ;
mOnItemSelected = onItemSelected ;
mToolList . add ( new ToolModel ( "Crop" , R . drawable . ic_crop , ToolType . CROP ) ) ;
mToolList . add ( new ToolModel ( "Crop" , R . drawable . ic_crop , ToolType . CROP ) ) ;
mToolList . add ( new ToolModel ( "Focus" , R . drawable . ic_baseline_filter_center_focus_24 , ToolType . FOCUS ) ) ;
mToolList . add ( new ToolModel ( "Shape" , R . drawable . ic_oval , ToolType . SHAPE ) ) ;
mToolList . add ( new ToolModel ( "Shape" , R . drawable . ic_oval , ToolType . SHAPE ) ) ;
mToolList . add ( new ToolModel ( "Text" , R . drawable . ic_text , ToolType . TEXT ) ) ;
mToolList . add ( new ToolModel ( "Text" , R . drawable . ic_text , ToolType . TEXT ) ) ;
mToolList . add ( new ToolModel ( "Eraser" , R . drawable . ic_eraser , ToolType . ERASER ) ) ;
mToolList . add ( new ToolModel ( "Eraser" , R . drawable . ic_eraser , ToolType . ERASER ) ) ;
mToolList . add ( new ToolModel ( "Filter" , R . drawable . ic_photo_filter , ToolType . FILTER ) ) ;
mToolList . add ( new ToolModel ( "Filter" , R . drawable . ic_photo_filter , ToolType . FILTER ) ) ;
mToolList . add ( new ToolModel ( "Emoji" , R . drawable . ic_insert_emoticon , ToolType . EMOJI ) ) ;
mToolList . add ( new ToolModel ( "Emoji" , R . drawable . ic_insert_emoticon , ToolType . EMOJI ) ) ;
mToolList . add ( new ToolModel ( "Focus" , R . drawable . ic_baseline_filter_center_focus_24 , ToolType . FOCUS ) ) ;
}
}
@NonNull
@NonNull