alimanam3386 Active Member Licensed User Longtime User Jul 16, 2016 #1 Hi I work on a social networking application , my question is : Which view is best view to handle and show post of users ( like Line or tango applications ) ? Can I use scollview for this part of my app ? thank you Last edited: Jul 16, 2016
Hi I work on a social networking application , my question is : Which view is best view to handle and show post of users ( like Line or tango applications ) ? Can I use scollview for this part of my app ? thank you
DonManfred Expert Licensed User Longtime User Jul 16, 2016 #2 What is a Line or Tango application? I guess you should be more precise of what exactly you expect/search. Maybe post a screenshot or give more details of what you need. Upvote 0
What is a Line or Tango application? I guess you should be more precise of what exactly you expect/search. Maybe post a screenshot or give more details of what you need.
alimanam3386 Active Member Licensed User Longtime User Jul 16, 2016 #3 DonManfred said: What is a Line or Tango application? I guess you should be more precise of what exactly you expect/search. Maybe post a screenshot or give more details of what you need. Click to expand... Line and Tango I want the program to show user's posts but I don't know which is the best view for that ? Upvote 0
DonManfred said: What is a Line or Tango application? I guess you should be more precise of what exactly you expect/search. Maybe post a screenshot or give more details of what you need. Click to expand... Line and Tango I want the program to show user's posts but I don't know which is the best view for that ?
moster67 Expert Licensed User Longtime User Jul 16, 2016 #4 Take a look at Douglas' post here I believe it is for sale and you could use it "as a base" to make your own layout. Anyway, in his post he's giving some hints which views he has used. Upvote 0
Take a look at Douglas' post here I believe it is for sale and you could use it "as a base" to make your own layout. Anyway, in his post he's giving some hints which views he has used.
alimanam3386 Active Member Licensed User Longtime User Jul 16, 2016 #5 moster67 said: Take a look at Douglas' post here I believe it is for sale and you could use it "as a base" to make your own layout. Anyway, in his post he's giving some hints which views he has used. Click to expand... I designed some UI for this part of my app by Scollview & MSCardView .... but I don't know how many data ( User's posts ) can I handle ( show ) by scrollview ? for example if show 1000 > postsCount in this view ( scrollview ) is it possible ? ( when user scroll down the scrollview data will load step by step ) Upvote 0
moster67 said: Take a look at Douglas' post here I believe it is for sale and you could use it "as a base" to make your own layout. Anyway, in his post he's giving some hints which views he has used. Click to expand... I designed some UI for this part of my app by Scollview & MSCardView .... but I don't know how many data ( User's posts ) can I handle ( show ) by scrollview ? for example if show 1000 > postsCount in this view ( scrollview ) is it possible ? ( when user scroll down the scrollview data will load step by step )
DonManfred Expert Licensed User Longtime User Jul 16, 2016 #6 There are no such "Views"... You need to build your own Layout. Using a customListview may be the best way as you have For the Avatar you need a Imageview which shows a rounded image and two Label For the text you need a label Like and Comment can be Labels too. And the younter are small images (or drawables) and a label. Upvote 0
There are no such "Views"... You need to build your own Layout. Using a customListview may be the best way as you have For the Avatar you need a Imageview which shows a rounded image and two Label For the text you need a label Like and Comment can be Labels too. And the younter are small images (or drawables) and a label.
alimanam3386 Active Member Licensed User Longtime User Jul 16, 2016 #7 DonManfred said: There are no such "Views"... You need to build your own Layout. Using a customListview may be the best way as you have For the Avatar you need a Imageview which shows a rounded image and two Label For the text you need a label Like and Comment can be Labels too. And the younter are small images (or drawables) and a label. Click to expand... Thank you for your guidance ... but if I use Listview ( as a base for customListview ) will I have following restrictions ? - Can I load layout of user's post in each item of Listview ? - Can I change item height for each item of Listview ? Thank you Upvote 0
DonManfred said: There are no such "Views"... You need to build your own Layout. Using a customListview may be the best way as you have For the Avatar you need a Imageview which shows a rounded image and two Label For the text you need a label Like and Comment can be Labels too. And the younter are small images (or drawables) and a label. Click to expand... Thank you for your guidance ... but if I use Listview ( as a base for customListview ) will I have following restrictions ? - Can I load layout of user's post in each item of Listview ? - Can I change item height for each item of Listview ? Thank you
DonManfred Expert Licensed User Longtime User Jul 16, 2016 #8 alimanam3386 said: Can I load user post layout in each item of Listview ? Click to expand... no. Listview does has a relativ fixed layout. one line item, two line items, twolinewithbitmap. all items of the same type will have the same height. alimanam3386 said: an I change item height for each item of Listview ? Click to expand... No. You can set the height of a twolinesandbitmap item. But the height will be added to ALL twolineandbitmap items. Upvote 0
alimanam3386 said: Can I load user post layout in each item of Listview ? Click to expand... no. Listview does has a relativ fixed layout. one line item, two line items, twolinewithbitmap. all items of the same type will have the same height. alimanam3386 said: an I change item height for each item of Listview ? Click to expand... No. You can set the height of a twolinesandbitmap item. But the height will be added to ALL twolineandbitmap items.
alimanam3386 Active Member Licensed User Longtime User Jul 16, 2016 #9 So how can I use listview ( as a base for customListview ) for this part of my application ? Last edited: Jul 16, 2016 Upvote 0
moster67 Expert Licensed User Longtime User Jul 16, 2016 #10 Here is another post by Douglas which may give you hints and inspiration https://www.b4x.com/android/forum/threads/aboo.62716/#post-397656 He seems to be using CLV Upvote 0
Here is another post by Douglas which may give you hints and inspiration https://www.b4x.com/android/forum/threads/aboo.62716/#post-397656 He seems to be using CLV
DonManfred Expert Licensed User Longtime User Jul 16, 2016 #11 alimanam3386 said: So how can I use listview ( as a base for customListview ) for this part of my application ? Click to expand... No. Use a CLV instead of a listview. You can use a Listview if you only want the layout from a Listview. One or Two lines and with bitmap or not. All items of same type will have the same layout/height. You can not change the layout from item 1 to item 2 and again another layout in item 3 with a listview. Upvote 0
alimanam3386 said: So how can I use listview ( as a base for customListview ) for this part of my application ? Click to expand... No. Use a CLV instead of a listview. You can use a Listview if you only want the layout from a Listview. One or Two lines and with bitmap or not. All items of same type will have the same layout/height. You can not change the layout from item 1 to item 2 and again another layout in item 3 with a listview.
alimanam3386 Active Member Licensed User Longtime User Jul 16, 2016 #12 moster67 said: Here is another post by Douglas which may give you hints and inspiration https://www.b4x.com/android/forum/threads/aboo.62716/#post-397656 He seems to be using CLV Click to expand... Thank you so much it is good idea Upvote 0
moster67 said: Here is another post by Douglas which may give you hints and inspiration https://www.b4x.com/android/forum/threads/aboo.62716/#post-397656 He seems to be using CLV Click to expand... Thank you so much it is good idea
alimanam3386 Active Member Licensed User Longtime User Jul 16, 2016 #13 DonManfred said: No. Use a CLV instead of a listview. You can use a Listview if you only want the layout from a Listview. One or Two lines and with bitmap or not. All items of same type will have the same layout/height. You can not change the layout from item 1 to item 2 and again another layout in item 3 with a listview. Click to expand... Thank you Donmanfred Upvote 0
DonManfred said: No. Use a CLV instead of a listview. You can use a Listview if you only want the layout from a Listview. One or Two lines and with bitmap or not. All items of same type will have the same layout/height. You can not change the layout from item 1 to item 2 and again another layout in item 3 with a listview. Click to expand... Thank you Donmanfred