public static YtdlMethods getInstance() { if (instance == null) { instance = new YtdlMethods(); } return(instance); }
public downloaded() { InitializeComponent(); manager = SQLiteManager.getInstance(); listview.ItemsSource = manager.GetData(SQLiteManager.dataType.downloadedAnime); ytdl = YtdlMethods.getInstance(); }
public lastwatched() { manager = SQLiteManager.getInstance(); InitializeComponent(); var veriler = manager.GetData(); listview.ItemsSource = veriler; ytdl = YtdlMethods.getInstance(); }
public DetailsPage(Anime anim) { InitializeComponent(); DataContext = anim; RequestManager api = RequestManager.getInstance(); anime = api.getDetails(anim); ytdl = YtdlMethods.getInstance(); sqlitemanager = SQLiteManager.getInstance(); Bolumler page = new Bolumler(anime, changeFrame); frame.Navigate(page); }