Skip to content

Commit c052b3f

Browse files
licensing header to demo app files
1 parent e1ac1c9 commit c052b3f

File tree

12 files changed

+202
-16
lines changed

12 files changed

+202
-16
lines changed
600 Bytes
Binary file not shown.

.idea/codeStyles/Project.xml

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 29 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/runConfigurations.xml

Lines changed: 12 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

app/src/main/java/com/flipkart/youtubeviewdemo/MainActivity.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
* Apache License
3+
* Version 2.0, January 2004
4+
* http://www.apache.org/licenses/LICENSE-2.0
5+
*
6+
* TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7+
*
8+
* Copyright (c) 2018 Flipkart Internet Pvt. Ltd.
9+
*
10+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use
11+
* this file except in compliance with the License. You may obtain a copy of the
12+
* License at http://www.apache.org/licenses/LICENSE-2.0
13+
*
14+
* Unless required by applicable law or agreed to in writing, software distributed
15+
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
16+
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
17+
* specific language governing permissions and limitations under the License.
18+
*/
119
package com.flipkart.youtubeviewdemo;
220

321
import android.content.Intent;

app/src/main/java/com/flipkart/youtubeviewdemo/helper/Constants.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
* Apache License
3+
* Version 2.0, January 2004
4+
* http://www.apache.org/licenses/LICENSE-2.0
5+
*
6+
* TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7+
*
8+
* Copyright (c) 2018 Flipkart Internet Pvt. Ltd.
9+
*
10+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use
11+
* this file except in compliance with the License. You may obtain a copy of the
12+
* License at http://www.apache.org/licenses/LICENSE-2.0
13+
*
14+
* Unless required by applicable law or agreed to in writing, software distributed
15+
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
16+
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
17+
* specific language governing permissions and limitations under the License.
18+
*/
119
package com.flipkart.youtubeviewdemo.helper;
220

321
public class Constants {

app/src/main/java/com/flipkart/youtubeviewdemo/youtubenative/YouTubeNativeActivityDemo.java

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
* Apache License
3+
* Version 2.0, January 2004
4+
* http://www.apache.org/licenses/LICENSE-2.0
5+
*
6+
* TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7+
*
8+
* Copyright (c) 2018 Flipkart Internet Pvt. Ltd.
9+
*
10+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use
11+
* this file except in compliance with the License. You may obtain a copy of the
12+
* License at http://www.apache.org/licenses/LICENSE-2.0
13+
*
14+
* Unless required by applicable law or agreed to in writing, software distributed
15+
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
16+
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
17+
* specific language governing permissions and limitations under the License.
18+
*/
119
package com.flipkart.youtubeviewdemo.youtubenative;
220

321
import android.os.Bundle;

app/src/main/java/com/flipkart/youtubeviewdemo/youtubenative/YouTubeNativeFragmentDemo.java

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,21 @@
1+
/*
2+
* Apache License
3+
* Version 2.0, January 2004
4+
* http://www.apache.org/licenses/LICENSE-2.0
5+
*
6+
* TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7+
*
8+
* Copyright (c) 2018 Flipkart Internet Pvt. Ltd.
9+
*
10+
* Licensed under the Apache License, Version 2.0 (the "License"); you may not use
11+
* this file except in compliance with the License. You may obtain a copy of the
12+
* License at http://www.apache.org/licenses/LICENSE-2.0
13+
*
14+
* Unless required by applicable law or agreed to in writing, software distributed
15+
* under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
16+
* CONDITIONS OF ANY KIND, either express or implied. See the License for the
17+
* specific language governing permissions and limitations under the License.
18+
*/
119
package com.flipkart.youtubeviewdemo.youtubenative;
220

321
import android.os.Bundle;
@@ -33,7 +51,7 @@ public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup c
3351
videoIds.add("ebXbLfLACGM");
3452
videoIds.add("mWRsgZuwf_8");
3553

36-
YouTubePlayerAdapter youTubePlayerAdapter = new YouTubePlayerAdapter(getContext(), videoIds, this, playerType);
54+
YouTubePlayerAdapter youTubePlayerAdapter = new YouTubePlayerAdapter(videoIds, this, playerType);
3755
view.setAdapter(youTubePlayerAdapter);
3856

3957
return view;

0 commit comments

Comments
 (0)