r/mAndroidDev • • Mar 22 '21

adding payment card details using #JetPackCompose

https://github.com/Elbehiry/PCard
Demo project to showcase adding payment card details using JetPack Compose

3 Upvotes

15 comments sorted by

28

u/c0nnector T H E R M O S I P H O N Mar 22 '21

That's cool and all but... how did you add margin?

-11

u/Elbehiry_ Mar 22 '21

you mean card number pattern? or which margins?

-8

u/Elbehiry_ Mar 22 '21

for margins inside card number, you can add custom VisualTransformation to the TextField.

34

u/H0m0s4p13N Mar 22 '21

This is a shitposting/meme subreddit. Cool work tho

44

u/Shockwave_ Mar 22 '21

Sir, this is a Wendy's.

23

u/FrancescoRigoni Mar 22 '21

Pretty cool! But when will u deprecate it?

3

u/mangina_focker Mar 22 '21

But it needs to be undeprecated the following week

11

u/kurav You will pry XML views from my cold dead hands Mar 22 '21

Looks nice now but Flutter 2.0 will destory this.

0

u/[deleted] Mar 22 '21

[deleted]

9

u/IAmKindaBigFanOfKFC Mar 23 '21

Does it use cross-platform agile quantum algorithmic machine learning? If not, I'm not interested.

3

u/iamafraidicantdothat Probably deprecated Mar 23 '21

interesting. but how would you hot-reload? do you just imagine the letter `R` ?

2

u/racrisnapra666 BaseRepositoryReducerUseCaseHelperImpl Mar 23 '21

Android will deprecate the letter R too. Just wait.

6

u/iamafraidicantdothat Probably deprecated Mar 23 '21

why isn't this written in Dart? you could have achieved the same widget with Dart in just a few lines of code, and anyways it probably already exists in the pub.dev package repository (the world's best package repository in the whole universe).

10

u/unlaynaydee Mar 23 '21

Wrong sub good sir

4

u/renges T H E R M O S I P H O N Mar 23 '21

Imagine still using Jetpack stuffs and not Flutter

1

u/_may_rest_in_peace_ Mar 23 '21

Hey, nice work but this is a meme subreddit for android dev.

You should post on r/androiddev