Stefan Schueller 2020-06-21 19:00:08 +02:00
parent b4c068d730
commit c2eeaea5f0

View File

@ -18,25 +18,17 @@
package net.schueller.peertube.activity; package net.schueller.peertube.activity;
import android.app.AlertDialog; import android.app.AlertDialog;
import android.content.DialogInterface;
import android.net.Uri; import android.net.Uri;
import android.os.Bundle; import android.os.Bundle;
import android.provider.SearchRecentSuggestions;
import android.util.Log; import android.util.Log;
import android.view.View; import android.view.View;
import android.widget.EditText; import android.widget.EditText;
import android.widget.TextView;
import android.widget.Toast;
import com.google.android.material.floatingactionbutton.FloatingActionButton; import com.google.android.material.floatingactionbutton.FloatingActionButton;
import androidx.annotation.NonNull; import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import androidx.appcompat.app.AppCompatActivity;
import androidx.appcompat.widget.Toolbar;
import androidx.fragment.app.FragmentManager; import androidx.fragment.app.FragmentManager;
import androidx.fragment.app.FragmentTransaction; import androidx.fragment.app.FragmentTransaction;
import androidx.lifecycle.Observer;
import androidx.lifecycle.ViewModelProvider; import androidx.lifecycle.ViewModelProvider;
import androidx.recyclerview.widget.ItemTouchHelper; import androidx.recyclerview.widget.ItemTouchHelper;
import androidx.recyclerview.widget.LinearLayoutManager; import androidx.recyclerview.widget.LinearLayoutManager;
@ -47,9 +39,6 @@ import net.schueller.peertube.adapter.ServerListAdapter;
import net.schueller.peertube.database.Server; import net.schueller.peertube.database.Server;
import net.schueller.peertube.database.ServerViewModel; import net.schueller.peertube.database.ServerViewModel;
import net.schueller.peertube.fragment.AddServerFragment; import net.schueller.peertube.fragment.AddServerFragment;
import net.schueller.peertube.provider.SearchSuggestionsProvider;
import java.util.List;
public class ServerAddressBookActivity extends CommonActivity implements AddServerFragment.OnFragmentInteractionListener { public class ServerAddressBookActivity extends CommonActivity implements AddServerFragment.OnFragmentInteractionListener {