Apr 4 |
7:25 PM |
Mark M. |
has entered the room |
Mark M. |
turned on guest access |
Apr 4 |
7:30 PM |
chike m. |
has entered the room |
Mark M. |
hello, chike!
|
Mark M. |
how can I help you today?
|
chike m. |
Hi Mark!
|
chike m. |
My question is about Dagger 2 Scopes
|
Mark M. |
I have never used Dagger
|
chike m. |
oh
|
Mark M. |
so, I will not be able to help you with that particular library
|
Mark M. |
sorry!
|
chike m. |
so what do you use for DI then?
|
wuqiang |
has entered the room |
Mark M. |
I don't use DI
|
chike m. |
ok Mark! maybe next time I will come up with another question
|
chike m. |
thanks
|
wuqiang |
hi
|
Mark M. |
OK, sorry I could not be of greater use
|
Mark M. |
wuqiang: hi! it's your turn -- do you have a question?
|
chike m. |
has left the room |
Apr 4 |
7:35 PM |
wuqiang |
yes i have
|
wuqiang |
i am coding a chat app
|
wuqiang |
i want click a button then on my layout popup a view
|
wuqiang |
how can i do that ?
|
Mark M. |
what do you mean by "popup a view"?
|
Mark M. |
do you mean that you want to have a dialog box over your activity?
|
wuqiang |
just like the app " WhatsApp" when you select a picture
|
Mark M. |
sorry, but I do not use WhatsApp
|
wuqiang |
just like any kind of chat app ,when you select a picture
|
Apr 4 |
7:40 PM |
Mark M. |
I do not use chat apps on Android
|
wuqiang |
let my have a picture for u
|
wuqiang |
i have uploaded a picture
|
wuqiang |
|
Mark M. |
did you upload it into the chat?
|
Mark M. |
ah, there it is
|
Apr 4 |
7:45 PM |
Mark M. |
OK, so when the user clicks the paperclip, what are you expecting to happen?
|
wuqiang |
|
Mark M. |
specifically, that looks like a BottomSheetDialog
|
Mark M. |
|
Mark M. |
I have not used this personally
|
Mark M. |
|
Mark M. |
in there, they either are using a RecyclerView with a GridLayoutManager or a GridView, I guess
|
wuqiang |
also have another situation
|
wuqiang |
|
Mark M. |
that looks like some sort of emoji keyboard
|
Apr 4 |
7:50 PM |
wuqiang |
yes
|
Mark M. |
regardless, that too is probably a RecyclerView with a GridLayoutManager, or perhaps a GridView
|
wuqiang |
pageView
|
Mark M. |
if you mean ViewPager, that may wrap around the RecyclerView or GridView
|
wuqiang |
it can swip to right or left ot select another part
|
Mark M. |
most likely, that is a ViewPager, with grids for the pages
|
wuqiang |
on every paveView have a recyclerView
|
Mark M. |
correct
|
Apr 4 |
7:55 PM |
wuqiang |
|
wuqiang |
|
Mark M. |
presumably, that is some sort of tab strip
|
wuqiang |
thanks
|
wuqiang |
how to pupup this kind of View with a button ?
|
Mark M. |
as I indicated, I would look into BottomSheetDialog
|
wuqiang |
pop-up
|
wuqiang |
thanks
|
Apr 4 |
8:30 PM |
Mark M. |
that's a wrap for today's chat
|
Mark M. |
the next chat is Friday at 9am US Eastern
|
Mark M. |
the transcript of this chat will be posted at https://commonsware.com/office-hours/ shortly
|
Mark M. |
have a pleasant day!
|
wuqiang |
has left the room |
Mark M. |
turned off guest access |