packageapp.fedilab.android.mastodon.viewmodel.mastodon;/* Copyright 2021 Thomas Schneider * * This file is a part of Fedilab * * This program is free software; you can redistribute it and/or modify it under the terms of the * GNU General Public License as published by the Free Software Foundation; either version 3 of the * License, or (at your option) any later version. * * Fedilab is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even * the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General * Public License for more details. * * You should have received a copy of the GNU General Public License along with Fedilab; if not, * see <http://www.gnu.org/licenses>. */importandroid.app.Application;importandroid.net.Uri;importandroid.os.Handler;importandroid.os.Looper;importandroidx.annotation.NonNull;importandroidx.lifecycle.AndroidViewModel;importandroidx.lifecycle.LiveData;importandroidx.lifecycle.MutableLiveData;importjava.net.IDN;importjava.util.Date;importjava.util.List;importjava.util.concurrent.TimeUnit;importapp.fedilab.android.R;importapp.fedilab.android.mastodon.client.endpoints.MastodonStatusesService;importapp.fedilab.android.mastodon.client.entities.api.Account;importapp.fedilab.android.mastodon.client.entities.api.Accounts;importapp.fedilab.android.mastodon.client.entities.api.Attachment;importapp.fedilab.android.mastodon.client.entities.api.Card;importapp.fedilab.android.mastodon.client.entities.api.Context;importapp.fedilab.android.mastodon.client.entities.api.Pagination;importapp.fedilab.android.mastodon.client.entities.api.Poll;importapp.fedilab.android.mastodon.client.entities.api.ScheduledStatus;importapp.fedilab.android.mastodon.client.entities.api.ScheduledStatuses;importapp.fedilab.android.mastodon.client.entities.api.Status;importapp.fedilab.android.mastodon.client.entities.api.StatusSource;importapp.fedilab.android.mastodon.client.entities.app.BaseAccount;importapp.fedilab.android.mastodon.client.entities.app.StatusCache;importapp.fedilab.android.mastodon.client.entities.app.Timeline;importapp.fedilab.android.mastodon.exception.DBException;importapp.fedilab.android.mastodon.helper.Helper;importapp.fedilab.android.mastodon.helper.MastodonHelper;importapp.fedilab.android.mastodon.helper.TimelineHelper;importokhttp3.Headers;importokhttp3.MediaType;importokhttp3.MultipartBody;importokhttp3.OkHttpClient;importokhttp3.RequestBody;importretrofit2.Call;importretrofit2.Response;importretrofit2.Retrofit;importretrofit2.converter.gson.GsonConverterFactory;publicclassStatusesVMextends