My project in based on Helpdesk system it is ticket based application. I am using API's and using their response to show data on tableview and performing some basic actions on it. Very simple application you can refer images.
I want to implement following 3 things.
A) Selecting Multiple Table View Rows-
* Point 1- Tableview consist of rows(we called it tickets see image 1 ). Ticket consist of some information like ticket title, subject , profile profile picture..etc. At a time 10 tickets will display , when you scroll it loads and again call API and again 10 tickets will load...same like next tickets.
So, here I want to select multiple tickets when I click (long press) on ticket it need to selected or check box has to be appear on all row of tickets, and then I am to select multiple tickets.
* Point 2 - After long press it has to be select a row/ticket and it needs to store/save its ticket id according its row/ticket and has to save in some array. So, that i want perform some option on it. for example- In my project I want to perform some actions on ticket like open ticket, close a ticket, delete a ticket, resolve a ticket. You can see image no 2. According its ticket nature, I am showing tickets.
--Inbox - It contains list of all open tickets, and unassigned and assigned tickets.
--Unassigned tickets- it contains list of unassigned tickets.
--My tickets- It contains list of tickets which are assigne to me.
--Closed tickets- it contains closed tickets
--trash tickets- it contains closed tickets.
(in short, my application is similar as gmail application)
Now, suppose I am in Inbox view controller(see image 1). Suppose I selected first 2 tickets, it background it save its ticket it and stores in array. After clicking close button on status(it takes that array i.e selected ticket id) change view(see image 3), these 2 tickets needs to be close i.e after that API there. For every action We are using API for open, close, delete or trash I am using API.
So after changing ticket status, that inbox page need to be refresh and that 2 tickets which are closed that goes to close. When I goes to close view controller here that 2 ticket will show. Like that same, I can able to open, close, delete ticket from any ViewController from Inbox, MyTickets, Trash,Closed view controller.
Application is already is there, only this feature I want to add in it.
B) Showing Webview on row of Table View - See image no [url removed, login to view] is ticket details page, when you click on any ticket from inbox it will redirect to ticket detail page. It contains 2 segmented controller buttons i.e conversation and view ticket details .(see image 4) Here in conversation view controller, you will see list of row. This view controller contains list of messages or replay data. When I click on any row it display one pop-up like this(see image 5a and 5b). Here I am showing data in webview on pop up.
image 5a,5b- contains simple message and text data, it will display like this.
image 6- contains web data/web page, look like this
(or see image last one)
I am using this library [url removed, login to view]
Like this, my project is working currently.
I want following modification in it,
--Modification that I want - When I click on any row(i.e message), it needs to expand and the content/data inside the row needs to be display on expanded cell. (It should expand the cell)
It should show dynamic cell and it should show/display simple data as well as web data/webpage. A webdata/webpage need to be adjust according to its height and width. and when I again click on cell it should hide again and when I click it has to be display...etc