Skip to content

I have done this below code into JAVA project. but didn't work.  #14

@jinkalzalavadiya

Description

@jinkalzalavadiya
 RemoveBg removeBg = new RemoveBg(CutOutActivity.this);

  removeBg.clearBackground(bitmap).collect(new FlowCollector<Bitmap>() {
            @org.jetbrains.annotations.Nullable
            @Override
            public Object emit(Bitmap bitmap, @NonNull Continuation<? super Unit> continuation) {
              
                return null;
            }
        }, new Continuation<Unit>() {
            @NonNull
            @Override
            public CoroutineContext getContext() {
                return null;
            }

            @Override
            public void resumeWith(@NonNull Object o) {

            }
        });

Please check above is there any issues?

Thank you.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions