« first day (1793 days earlier)      last day (1457 days later) » 

4:13 AM
Good Morning
 
 
1 hour later…
5:26 AM
Good Morning
@JaiprakashSoni @nyconing how are you ?
 
GM all
 
@AshishJain GM
 
@Mayur How are you?
 
Great bro hows you ?
 
@Mayur I am also good
 
5:31 AM
@AshishJain I found that Google InApp billing supports only 1 time purchase. But I want to implement multiple times inApp purchase with google billing
How is it possible ?
Sorry I am iOS developer but learning Android so asking silly questions
 
@Mayur You are asking about subscription or on time purchase?
 
not subscription
Let me explain the feature
Actually its a chat Application where if user get banned they have to pay 10$ to unbanned
So this needs to implement with google inApp billing
Now user can banned multiple times so with using One time purchase its not possible
 
I think it should work...because there is no limit for a one-time purchase?
@Ninja m I right?
 
But if I use One time purchase Product ID than next time it will not charge right ?
 
@Mayur is there any logs which show the errors
 
5:36 AM
no there is no such error
Actually I was not aware that Google Pay payment option is only used for the Physical products so I did implemented for this 10$ feature
And I submitted Alpha version
But review team has given warning message
That its violating google policies
So now I have to use Google Play InApp billing for it
@AshishJain
 
@Mayur I think you are talking about Managed product
 
yes Managed product (one time purchase)
 
Actually, i didn't work on inApp but for Managed product it should not take charge as you said..i think its right
for unmanaged product it should take charge multiple times
not sure but I think @Ninja can tell you an exact scenario...
 
ok
@Ninja
Can you please guide me bro
 
till now you can check this
https://developer.android.com/google/play/billing/api.html#consumetypes
 
5:46 AM
@AshishJain thanks let me check
 
5:58 AM
@Mayur just give me 10 mins
if you want any item that purchase multiple time then you can use consumable product
 
@Ninja how to create consumable product
there is no option available on the play store
 
6:25 AM
@Ninja I am good
you?
 
@JaiprakashSoni i am also good
@Mayur before that google was provide to add non-consumable and consumable product but now a days google merged that things and its Managed Product in google play
so if you want to add any SKU for purchase then you have to add in Managed Product in google play
for more detail read this
24
Q: Difference between managed and unmanaged in-app product android?

Andro DevI went through the developer forum to know the difference between managed an unmanaged in-app products. they are saying that "Items that are unmanaged do not have their transaction information stored on Android Market, which means you cannot query Android Market to retrieve transaction informatio...

 
6:43 AM
@Ninja ok so product will be added in to Managed product only but will be some changes in to the programming side right ?
 
@Mayur yes
if you add any item's in Managed Product and request for purchase it
But if you want buy that item multiple time then you have to consume that item so you can purchase that item/product multiple time
You can test your in-app purchase without uploading APK on play store by this way medium.com/bleeding-edge/… and here is the google docs developer.android.com/google/play/billing/billing_testing
Here is the complete example for all type of google play billing github.com/googlesamples/android-play-billing/tree/master/…
 
7:11 AM
@Ninja ok thanks
 
@Ninja Happy.
Re-designing own fully isolated framework between hardware, Gui and procedure processors. Aimed for one library going inter-platform. And each isolated part are support networking.
Once my framework is up to stable, my developing projects will having ultimate boost on output performance.
 
@nyconing Wow, (Y)
 
8:12 AM
Hi
Good after noon everyone
 
 
1 hour later…
9:25 AM
hello Guys
I am getting issue in enabling miscellaneous notification
0
Q: Miscellaneous notification not enabling from settings

MashukKhanI have created a push notification demo which is working fine. But there's an issue while enabling the notification alert from settings. I have send a notification from firebase cloud messaging console and the notification is received as expected and now when I long click on that notification an...

 
9:59 AM
@Ninja is it possible to completely disable expand functionality of expandable list view in android?
 
10:17 AM
@JaiprakashSoni do you have any idea?
 
10:29 AM
@AshishJain setOnGroupClickListener and return false
if you want to disable expand functionality then why don't you use recyclerview? or let me know why need this kind of hanky code?
 
10:42 AM
@Ninja 1. https://imgur.com/a/Fjvw4Q8
2. https://imgur.com/a/28O1t02
you are right actually I have to make the above designs and one example was there that was close to it so I thought I can try if it easily possible otherwise as you said
recyclerview is good enough.
 
11:06 AM
hi @Ninja
I am having viewpager with fragments and also tablayout
each tab text is from api.so i called api and assigned in tab text and also added fragment for each tab
i am getting values for fragment from another api.i called that in mainactivity and filtering it by using tab selected name and pass into each fragment
the problem i am facing is: when i scroll on viewpager its coming fine.but when i click on tab then response are coming in wrong fragment
like personal videos in official tab and official videos in others tab
 
11:34 AM
@LavanyaVelusamy look, whenever you use viewpager with tablayout and try to load data based on selected tab or swipe page then it always load data next page
i mean if 1 page is visible then 2 second page (API call) data is loaded and if 2 page is visible then 3 page data (API call) is load and so on...
i have faced this issue so many time and i have fixed by my own logic
in your adapter override setPrimaryItem() method and check which position is selected or resumed
 
i have one api with all responses for all tabs.whenever user selected particular tab i need to filter those response with that selected tab text and load into corresponding fragment
when i scroll viewpager its working perfectly
but when i select on tab its not refreshing fragment
but i can print all values for that particular fragment
@Ninja
 
11:49 AM
@LavanyaVelusamy have you extend FragmentStatePagerAdapter with your viewpager adapter?
 
have you set addOnTabSelectedListener() on tablayout ?
 
no
but tabs.setupWithViewPager(vpPager); this statement itself call addontabsele() listener internally i think
 
yes exactly that is also possible but then if i am not wrong then debug your code and you will get idea that when you select 1 page then 2 second page data is loaded and same for next as i said above
try to get data by selected tab position
 
@Ninja your solution for Consumable products implemented
not able to do sandbox testing though
But thanks for solution
 
11:58 AM
@Ninja i tried getting tab selected response it coming correctly
 
@LavanyaVelusamy hi
 
@Mayur welcome ;)
 
@Mayur hi bro
 

« first day (1793 days earlier)      last day (1457 days later) »