Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
AppUms_Lecturer
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tungnq
AppUms_Lecturer
Commits
be6553f0
Commit
be6553f0
authored
Aug 29, 2025
by
tungnq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
TODO: Refactor TabBarView
parent
3db2ac7d
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
7 deletions
+13
-7
view.js
src/screens/list_work/view.js
+13
-7
No files found.
src/screens/list_work/view.js
View file @
be6553f0
...
@@ -14,12 +14,9 @@ const ListWorkView = (props) => {
...
@@ -14,12 +14,9 @@ const ListWorkView = (props) => {
const
handleFilterChange
=
(
item
)
=>
{
const
handleFilterChange
=
(
item
)
=>
{
console
.
log
(
item
);
console
.
log
(
item
);
};
};
return
(
<
View
const
renderTabView
=
()
=>
{
style
=
{
styles
.
container
}
>
return
(
<
TabViewComponent
<
Header
title
=
{
'Danh sách công việc'
}
isBack
/>
<
View
style
=
{
styles
.
body
}
>
<
TabViewComponent
data
=
{[
data
=
{[
{
key
:
'all'
,
label
:
'Tất cả'
},
{
key
:
'all'
,
label
:
'Tất cả'
},
{
key
:
'public'
,
label
:
'Công khai'
},
{
key
:
'public'
,
label
:
'Công khai'
},
...
@@ -55,7 +52,16 @@ const ListWorkView = (props) => {
...
@@ -55,7 +52,16 @@ const ListWorkView = (props) => {
showActiveIndicator
=
{
false
}
showActiveIndicator
=
{
false
}
onFilterChange
=
{
handleFilterChange
}
onFilterChange
=
{
handleFilterChange
}
/
>
/>
)
}
return
(
<
View
style
=
{
styles
.
container
}
>
<
Header
title
=
{
'Danh sách công việc'
}
isBack
/>
<
View
style
=
{
styles
.
body
}
>
{
renderTabView
()}
<
/View
>
<
/View
>
<
FAB
>
<
FAB
>
<
SubButton
<
SubButton
...
...
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