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
2812228e
Commit
2812228e
authored
Sep 14, 2021
by
it17166348@my.sliit.lk
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add testingchat1 file
parent
a76acb56
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
41 additions
and
0 deletions
+41
-0
app/src/main/java/com/sliit/smartserviceassistant/testingchat1.java
...in/java/com/sliit/smartserviceassistant/testingchat1.java
+41
-0
No files found.
app/src/main/java/com/sliit/smartserviceassistant/testingchat1.java
0 → 100644
View file @
2812228e
package
com.appsnipp.education
;
import
android.os.Bundle
;
import
androidx.annotation.NonNull
;
import
com.google.android.material.floatingactionbutton.FloatingActionButton
;
import
com.google.android.material.snackbar.Snackbar
;
import
com.google.android.material.tabs.TabLayout
;
import
androidx.viewpager.widget.ViewPager
;
import
androidx.appcompat.app.AppCompatActivity
;
import
android.view.View
;
import
com.appsnipp.education.main.SectionsPagerAdapter
;
public
class
testingchat1
extends
AppCompatActivity
{
@Override
protected
void
onCreate
(
Bundle
savedInstanceState
)
{
super
.
onCreate
(
savedInstanceState
);
setContentView
(
R
.
layout
.
activity_testingchat1
);
SectionsPagerAdapter
sectionsPagerAdapter
=
new
SectionsPagerAdapter
(
this
,
getSupportFragmentManager
());
ViewPager
viewPager
=
findViewById
(
R
.
id
.
view_pager
);
viewPager
.
setAdapter
(
sectionsPagerAdapter
);
TabLayout
tabs
=
findViewById
(
R
.
id
.
tabs
);
tabs
.
setupWithViewPager
(
viewPager
);
FloatingActionButton
fab
=
findViewById
(
R
.
id
.
fab
);
fab
.
setOnClickListener
(
new
View
.
OnClickListener
()
{
@Override
public
void
onClick
(
View
view
)
{
Snackbar
.
make
(
view
,
"Replace with your own action"
,
Snackbar
.
LENGTH_LONG
)
.
setAction
(
"Action"
,
null
).
show
();
}
});
}
}
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