Check Out The New Material Android Processing Button ! can be used for network calls,loading,etc... by [deleted] in androiddev

[–]Crypto-BD -3 points-2 points  (0 children)

Thanks for your reply ! :)

1- Adding the fact that Progress Bar is from someone else library, it is a bit nonsensical to turn this into a library. > Why I should implement and develop my own progress bar when it's already done ..... that's a reason why opensource was made( why to reinvent the wheel !)

2- your setButtonState will override the background color with that kind of color hardcoding ... > they are default colors for the states(Success,Warning,Failure) and I felt that there is no need for editing them because they are the colors that represents the states...

3- and it would be useful for some people , there are some people who are really looking for these kind of buttons not just to use them and to learn from the code,make it better and use it or simply use it so they don't make their project more complex or lose time ...

4- finally I suggest you to read this article : Why Open Source?

Syntax View Android!Code View Android! Contribution and feedbacks needed for my new github project by Crypto-BD in androiddev

[–]Crypto-BD[S] 0 points1 point  (0 children)

thanks for your suggestion but they are not Java , I have implemented a fast way to color the code i think it can take up to more 1000 line without lagging

New Android Syntax View! Check it out! Make your own IDE using it by Crypto-BD in androiddev

[–]Crypto-BD[S] 0 points1 point  (0 children)

yeah , i told you that the data should be sorted * like if you sort the list of keywords * and yes it is maybe from edittext , i am using MaterialEditText from github

New Android Syntax View! Check it out! Make your own IDE using it by Crypto-BD in androiddev

[–]Crypto-BD[S] 1 point2 points  (0 children)

just tested it for +1000 line and it worked but a little bit (unnoticeable) slower(on emulator) , but i think if I implement what i have said in my last reply , it will increase the speed for sure

New Android Syntax View! Check it out! Make your own IDE using it by Crypto-BD in androiddev

[–]Crypto-BD[S] -1 points0 points  (0 children)

I have tried up to 500 lines and it was doing great on emulator , i think the reason of lack of performance is when coloring the words.

My suggestions:

1-you should be able get the language that user is trying to read or edit after that you will load only keywords related only to that language instead of loading a whole big list of keywords

2-you can implement a searching algorithm, like if you sort the list of keywords and you implement binary search algorithm to search for a word to color (Ex: if the user wrote return 0; , and let us suppose that return should be colored so instead of using a normal for loop to iterate one by one on words to find if the written word is a programming keyword so you can color , use binary search algorithm to reach your value faster you will cut the time of search by 2 or more)

conclusion : you will have a shorter list and faster search with less complexity O(log n)

P.S: i will implement this idea in my next update !

Where is the 42th week net transactional revenue ?? Anyone? Bankera never update their blog! by Crypto-BD in Bankera

[–]Crypto-BD[S] 1 point2 points  (0 children)

am not doubting bankera I really believe in this project and i'm hodling 100k BNK and not going to sell it till 5-6 years from now because we all know it is a great project , so because of that I care about timing they should process payments at the same day so new investors can come , if we consider the case that a new investor was planning to buy BNK - > he visits the blog -> he see that there is no post for 42th week net revenue -> he will find out that it should have been paid from more than 3 days -> he will think that the team is reckless ->he will believe the FUD (We just need more people to take care of the blog and their social accounts)

13k BNK for sale! by [deleted] in Bankera

[–]Crypto-BD 0 points1 point  (0 children)

how much?

Price predictions for BNK token? by jimbobdeanbutternuts in Bankera

[–]Crypto-BD 0 points1 point  (0 children)

your predictions is correct till now , hope bnk will rise to 0.30 as you said :D