Android Studio app

-2

I'm developing an application that is a chord dictionary for guitar. And as there are countless chords, consequently I have countless Activities. The problem is that the application will be very, very large, because you are using the buttons and images several times, for example: If I have 200 chords, I have 200 activities and I am using the same images and buttons for 200 times. To solve the problem, I thought of using a "Generic" Activity, that is, the same for all the chords. So when I choose the C-chord, Activity will behave in a way (the buttons that simulate the fingers will be in a certain position), and when I choose the chord, this same Activity will behave differently (the buttons changed again). Is this possible personal ???

    
asked by anonymous 04.01.2017 / 00:47

1 answer

0

It is possible if the shell is the same, and the buttons become images. Dai just call through the bank the name of the image.

I recommend searching on RecyclerView, ItemView, Picasso Library (To load images) and how to store using a database on Android.

    
04.01.2017 / 00:54