Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
2
2021-194
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
2021–194
2021-194
Commits
62fc7105
Commit
62fc7105
authored
Aug 02, 2021
by
Anupama Balasooriya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove unused suggest youtube videos activity
parent
3ed223b8
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
0 additions
and
62 deletions
+0
-62
app/src/main/AndroidManifest.xml
app/src/main/AndroidManifest.xml
+0
-1
app/src/main/java/com/sliit/smartserviceassistant/spareparts/SuggestYoutubeVideos.java
...martserviceassistant/spareparts/SuggestYoutubeVideos.java
+0
-32
app/src/main/res/layout/activity_suggest_youtube_videos.xml
app/src/main/res/layout/activity_suggest_youtube_videos.xml
+0
-29
No files found.
app/src/main/AndroidManifest.xml
View file @
62fc7105
...
...
@@ -17,7 +17,6 @@
android:theme=
"@style/Theme.SmartServiceAssistant"
>
<activity
android:name=
".spareparts.StoresListActivity"
></activity>
<activity
android:name=
".insurance.insurance_view"
/>
<activity
android:name=
".spareparts.SuggestYoutubeVideos"
/>
<!--
The API key for Google Maps-based APIs is defined as a string resource.
(See the file "res/values/google_maps_api.xml").
...
...
app/src/main/java/com/sliit/smartserviceassistant/spareparts/SuggestYoutubeVideos.java
deleted
100644 → 0
View file @
3ed223b8
package
com.sliit.smartserviceassistant.spareparts
;
import
androidx.annotation.NonNull
;
import
androidx.appcompat.app.AppCompatActivity
;
import
android.os.Bundle
;
import
com.pierfrancescosoffritti.androidyoutubeplayer.core.player.YouTubePlayer
;
import
com.pierfrancescosoffritti.androidyoutubeplayer.core.player.listeners.AbstractYouTubePlayerListener
;
import
com.pierfrancescosoffritti.androidyoutubeplayer.core.player.views.YouTubePlayerView
;
import
com.sliit.smartserviceassistant.R
;
public
class
SuggestYoutubeVideos
extends
AppCompatActivity
{
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_suggest_youtube_videos
);
YouTubePlayerView
youTubePlayerView
=
findViewById
(
R
.
id
.
youtube_player_view
);
getLifecycle
().
addObserver
(
youTubePlayerView
);
youTubePlayerView
.
addYouTubePlayerListener
(
new
AbstractYouTubePlayerListener
()
{
@Override
public
void
onReady
(
@NonNull
YouTubePlayer
youTubePlayer
)
{
String
videoId
=
"p3CcfIjycBA"
;
youTubePlayer
.
loadVideo
(
videoId
,
0
);
}
});
}
}
\ No newline at end of file
app/src/main/res/layout/activity_suggest_youtube_videos.xml
deleted
100644 → 0
View file @
3ed223b8
<?xml version="1.0" encoding="utf-8"?>
<ScrollView
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
xmlns:tools=
"http://schemas.android.com/tools"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
tools:context=
".spareparts.SuggestYoutubeVideos"
>
<LinearLayout
xmlns:android=
"http://schemas.android.com/apk/res/android"
xmlns:app=
"http://schemas.android.com/apk/res-auto"
android:layout_width=
"match_parent"
android:layout_height=
"match_parent"
android:orientation=
"vertical"
>
<com.pierfrancescosoffritti.androidyoutubeplayer.core.player.views.YouTubePlayerView
android:id=
"@+id/youtube_player_view"
android:layout_width=
"match_parent"
android:layout_height=
"wrap_content"
app:autoPlay=
"false"
app:showSeekBar=
"true"
app:showVideoDuration=
"true"
app:showVideoCurrentTime=
"true"
app:showYouTubeButton=
"false"
app:showFullScreenButton=
"true"
/>
</LinearLayout>
</ScrollView>
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment