Skip to content

[Help] How to filter all non media tweet #1485

@MonoS

Description

@MonoS

Hi, I'd like to filter all non media tweet from one of my timeline, i was able to code it for the "UserTimelineLoader" doing something like this in function loadInBackground in file AbsRequestStatusesLoader and it seems to works fine
image

I then tried doing the same for the main timeline, i've then started debugging from GetHomeTimelineTask arriving to StatusExtensions and i've put a similar code, without the account check, inside Status.applyTo method, the variable is set correctly set but no status are filtered.

I've then tried to understand how the filter works, but i'm unable to find how those are handled, probably because this is my first time developing for android.

Can someone give me some hint on how to proceed?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions