Office Hours — Today, April 4

Saturday, April 1

Apr 4
7:25 PM
Mark M.
has entered the room
Mark M.
turned on guest access
7:30 PM
chike m.
has entered the room
Mark M.
hello, chike!
how can I help you today?
chike m.
Hi Mark!
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
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
thanks
wuqiang
hi
Mark M.
OK, sorry I could not be of greater use
wuqiang: hi! it's your turn -- do you have a question?
chike m.
has left the room
7:35 PM
wuqiang
yes i have
i am coding a chat app
i want click a button then on my layout popup a view
how can i do that ?
Mark M.
what do you mean by "popup a view"?
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
7:40 PM
Mark M.
I do not use chat apps on Android
wuqiang
let my have a picture for u
i have uploaded a picture
Mark M.
did you upload it into the chat?
ah, there it is
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
I have not used this personally
in there, they either are using a RecyclerView with a GridLayoutManager or a GridView, I guess
wuqiang
also have another situation
Mark M.
that looks like some sort of emoji keyboard
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
7:55 PM
wuqiang
Mark M.
presumably, that is some sort of tab strip
wuqiang
thanks
how to pupup this kind of View with a button ?
Mark M.
as I indicated, I would look into BottomSheetDialog
wuqiang
pop-up
thanks
8:30 PM
Mark M.
that's a wrap for today's chat
the next chat is Friday at 9am US Eastern
the transcript of this chat will be posted at https://commonsware.com/office-hours/ shortly
have a pleasant day!
wuqiang
has left the room
Mark M.
turned off guest access

Saturday, April 1

 

Office Hours

People in this transcript

  • chike mgbemena
  • Mark Murphy
  • wuqiang