java - Want to create library project that contain all my (native) android application view adapter -


I'm trying to manage my native (native) Android application code. For this reason I am working and making a modular approach. I have already done DB, JSN Parser and My Library Projects of Data Model. But when I am trying to do it with the adapter to see it, then the idea of ​​getting an idea ID is to include an R file. Therefore, there is no other way that I can manage my Android list view adapter. Or is the way to complete the R file.

Thank you in advance

You can not pass a library to the app project, It's meaningless.

You can pass only from Adapter ID Adapter.setViewIds (R.layout.item, R.id.textView, R.id.title)

Or, you can do library projects Can create ID in

Comments

Popular posts from this blog

java - ImportError: No module named py4j.java_gateway -

python - Receiving "KeyError" after decoding json result from url -

.net - Creating a new Queue Manager and Queue in Websphere MQ (using C#) -