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
a188c62e
Commit
a188c62e
authored
Aug 19, 2025
by
tungnq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IMPORTANT: Đã xử lý vẫn đề không hỗ trợ flex wrap containerStyle trong flat list
parent
fa940ddf
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
4 deletions
+5
-4
style.js
src/screens/notification/detail/style.js
+1
-1
view.js
src/screens/notification/detail/view.js
+4
-3
No files found.
src/screens/notification/detail/style.js
View file @
a188c62e
...
@@ -66,7 +66,7 @@ const styles = StyleSheet.create({
...
@@ -66,7 +66,7 @@ const styles = StyleSheet.create({
},
},
//FlatList
//FlatList
flatList
:{
flatList
:{
h
eight
:
200
,
maxH
eight
:
200
,
backgroundColor
:
R
.
colors
.
blue1
,
backgroundColor
:
R
.
colors
.
blue1
,
paddingHorizontal
:
10
,
paddingHorizontal
:
10
,
borderRadius
:
10
,
borderRadius
:
10
,
...
...
src/screens/notification/detail/view.js
View file @
a188c62e
...
@@ -127,12 +127,13 @@ const NotificationDetailView = props => {
...
@@ -127,12 +127,13 @@ const NotificationDetailView = props => {
<
/View
>
<
/View
>
<
View
style
=
{
styles
.
flatList
}
>
<
View
style
=
{
styles
.
flatList
}
>
<
FlatList
<
FlatList
nestedScrollEnabled
nestedScrollEnabled
=
{
true
}
scrollEnabled
=
{
true
}
data
=
{
dataList
}
data
=
{
dataList
}
renderItem
=
{
renderItem
}
renderItem
=
{
renderItem
}
keyExtractor
=
{
item
=>
item
.
id
}
keyExtractor
=
{
item
=>
item
.
id
}
numColumns
=
{
1
}
numColumns
=
{
2
}
co
ntentContainerStyle
=
{{
flexDirection
:
'row'
,
flexWrap
:
'wrap'
}}
co
lumnWrapperStyle
=
{{
flexWrap
:
'wrap'
}}
/
>
/
>
<
/View
>
<
/View
>
...
...
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